{"id":22180748,"url":"https://github.com/jftuga/create_file_index","last_synced_at":"2025-10-16T03:05:47.268Z","repository":{"id":117698923,"uuid":"405220429","full_name":"jftuga/create_file_index","owner":"jftuga","description":"Makes searching for file meta-data very easy","archived":false,"fork":false,"pushed_at":"2021-09-10T22:11:33.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T19:15:43.069Z","etag":null,"topics":["command-line","command-line-tool","windows"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jftuga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-10T21:47:30.000Z","updated_at":"2021-11-09T08:25:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"98d5c807-00d4-4f13-a391-5573dea21deb","html_url":"https://github.com/jftuga/create_file_index","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jftuga/create_file_index","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jftuga%2Fcreate_file_index","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jftuga%2Fcreate_file_index/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jftuga%2Fcreate_file_index/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jftuga%2Fcreate_file_index/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jftuga","download_url":"https://codeload.github.com/jftuga/create_file_index/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jftuga%2Fcreate_file_index/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279142863,"owners_count":26113113,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["command-line","command-line-tool","windows"],"created_at":"2024-12-02T09:19:31.790Z","updated_at":"2025-10-16T03:05:47.226Z","avatar_url":"https://github.com/jftuga.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# create_file_index\nMakes searching for file meta-data very easy and can be used as a nightly `Scheduled Task`.\n\n## Synopsis\nThis batch file creates two compressed files:\n* a simple list of files and directories with their full pathname: `dir_list.txt.xz`\n* a table of including file name with complete path, modification date, size, and type: `dir_stat.txt.xz`\n\n## Usage\n\nIn the batch file, you need to edit two settings:\n* **DRIVES**: a space delimited list of drive letters to index\n* **CPU**: the number of threads that `xz` will use for compression\n\nHow to view file list:\n* `xz -dc dir_list.txt.xz | less`\n\nHow to search for files:\n* `xz -dc dir_stat.txt.xz | rg datafile.csv`\n* (or use the built-in findstr command)\n* `xz -dc dir_stat.txt.xz | findstr /i \"datafile\"`\n\n## Required Dependencies:\n* [xz.exe](https://tukaani.org/xz/)\n* [fstat.exe](https://github.com/jftuga/fstat/)\n* [timeit.exe](https://github.com/jftuga/timeit/)\n\n## Optional Dependencies:\n* [rg.exe](https://github.com/BurntSushi/ripgrep)\n* [less.exe](https://github.com/jftuga/less-Windows)\n\n## Truncated Example Output:\n\n**dir_list.txt**\n```\nC:\\github.com\\jftuga\\create_file_index\\create_file_index.bat\nC:\\github.com\\jftuga\\create_file_index\\LICENSE\nC:\\github.com\\jftuga\\create_file_index\\README.md\n```\n\n**dir_stat.txt**\n```\n+---------------------+-------+------+--------------------------------------------------------------+\n|      MOD TIME       | SIZE  | TYPE |                             NAME                             |\n+---------------------+-------+------+--------------------------------------------------------------+\n| 2021-09-10 17:44:27 | 1,821 | F    | C:\\github.com\\jftuga\\create_file_index\\create_file_index.bat |\n| 2021-09-10 17:48:31 | 1,089 | F    | C:\\github.com\\jftuga\\create_file_index\\LICENSE               |\n| 2021-09-10 17:51:31 |   828 | F    | C:\\github.com\\jftuga\\create_file_index\\README.md             |\n|                     | 3,738 |      |   (total size for 3 files)                                   |\n|                     | 1,246 |      | (average size for 3 files)                                   |\n+---------------------+-------+------+--------------------------------------------------------------+\n```\nSee also: [fstat: Get info for a list of files across multiple directories](https://github.com/jftuga/fstat)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjftuga%2Fcreate_file_index","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjftuga%2Fcreate_file_index","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjftuga%2Fcreate_file_index/lists"}