{"id":19840287,"url":"https://github.com/nocapscripts/fileprop","last_synced_at":"2026-03-03T16:43:30.572Z","repository":{"id":111745278,"uuid":"313304408","full_name":"nocapscripts/FileProp","owner":"nocapscripts","description":null,"archived":false,"fork":false,"pushed_at":"2020-11-16T14:05:26.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T22:22:08.559Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nocapscripts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-11-16T13:03:45.000Z","updated_at":"2020-11-16T14:05:28.000Z","dependencies_parsed_at":"2023-08-11T22:45:15.494Z","dependency_job_id":null,"html_url":"https://github.com/nocapscripts/FileProp","commit_stats":null,"previous_names":["redeyescripts/fileprop","user5435863212362/fileprop","auserthatnooneknows/fileprop","reduxscripts/fileprop","nocapscripts/fileprop"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nocapscripts/FileProp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nocapscripts%2FFileProp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nocapscripts%2FFileProp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nocapscripts%2FFileProp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nocapscripts%2FFileProp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nocapscripts","download_url":"https://codeload.github.com/nocapscripts/FileProp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nocapscripts%2FFileProp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30052132,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T15:26:47.567Z","status":"ssl_error","status_checked_at":"2026-03-03T15:26:17.132Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T12:26:13.428Z","updated_at":"2026-03-03T16:43:30.532Z","avatar_url":"https://github.com/nocapscripts.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# FileProp\n\n## Monday project\n\n```\nusing System;\nusing System.IO;\n\nnamespace Monday\n{\n    class Program\n    {\n        static void Main(string[] args)\n        {\n            string rootPath = @\"C:\\Users\\opilane\\samples\";\n            GetDirectories(rootPath);\n            GetFiles(rootPath);\n        }\n        public static void GetDirectories(string path)\n        {\n            string[] allDirectories = Directory.GetDirectories(path, \" * \", SearchOption.AllDirectories);\n            string filePath = @\"C:\\Users\\opilane\\Monday\\directoriesData.txt\";\n\n            File.WriteAllLines(filePath, allDirectories);  \n        }\n        public static void GetFiles(string path)\n        {\n            string[] allfiles = Directory.GetFiles(path, \"*.*\", SearchOption.AllDirectories);\n            string filePath = @\"C:\\Users\\opilane\\Monday\\filesData.txt\";\n            File.WriteAllLines(filePath, allfiles);\n        }\n        \n    }\n}\n\n\n```\n\n## FileProps\n\n```\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\n\nnamespace FileProp\n{\n    class Program\n    {\n        static void Main(string[] args)\n        {\n            // get file names\n            string rootPath = @\"C:\\Users\\opilane\\samples\";\n            string[] files = Directory.GetFiles(rootPath,\"*.*\",SearchOption.AllDirectories);\n            List\u003cstring\u003e lines = new List\u003cstring\u003e();\n            foreach (string file in files)\n            {\n                Console.WriteLine(file);\n\n\n                // get file objects\n\n                var fileData = new FileInfo(file);\n                string filename = fileData.Name;\n                string fileDirectory = fileData.DirectoryName;\n                long filesSize = fileData.Length;\n                Console.WriteLine($\"File Name: {filename}; location: {fileDirectory}; Size {filesSize}\");\n                string line = $\"File Name: {filename}; location: {fileDirectory}; Size {filesSize}byte\";\n                lines.Add(line);\n\n            }\n\n            string fileDataPath = @\"C:\\Users\\opilane\\samples\\FileData.txt\";\n\n            File.WriteAllLines(fileDataPath, lines);\n\n\n\n\n        }\n    }\n}\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnocapscripts%2Ffileprop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnocapscripts%2Ffileprop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnocapscripts%2Ffileprop/lists"}