{"id":27942417,"url":"https://github.com/jessehouwing/windowsfilehistorycleaner","last_synced_at":"2026-03-03T20:07:56.515Z","repository":{"id":77965640,"uuid":"145984197","full_name":"jessehouwing/WindowsFileHistoryCleaner","owner":"jessehouwing","description":"Simple command line executable to turn a File History share back into a snapshot of files","archived":false,"fork":false,"pushed_at":"2023-09-17T22:38:50.000Z","size":13,"stargazers_count":22,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-08T23:09:57.868Z","etag":null,"topics":["backup","filehistory","windows"],"latest_commit_sha":null,"homepage":"","language":"C#","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/jessehouwing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"jessehouwing","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://www.paypal.me/jessehouwing/5"}},"created_at":"2018-08-24T11:39:38.000Z","updated_at":"2025-10-06T09:25:16.000Z","dependencies_parsed_at":"2024-01-14T20:18:09.792Z","dependency_job_id":"8f2a7736-104c-414b-9444-fb96e6e93c6e","html_url":"https://github.com/jessehouwing/WindowsFileHistoryCleaner","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jessehouwing/WindowsFileHistoryCleaner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessehouwing%2FWindowsFileHistoryCleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessehouwing%2FWindowsFileHistoryCleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessehouwing%2FWindowsFileHistoryCleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessehouwing%2FWindowsFileHistoryCleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jessehouwing","download_url":"https://codeload.github.com/jessehouwing/WindowsFileHistoryCleaner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessehouwing%2FWindowsFileHistoryCleaner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30057881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","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":["backup","filehistory","windows"],"created_at":"2025-05-07T11:33:38.318Z","updated_at":"2026-03-03T20:07:56.478Z","avatar_url":"https://github.com/jessehouwing.png","language":"C#","funding_links":["https://github.com/sponsors/jessehouwing","https://www.paypal.me/jessehouwing/5"],"categories":[],"sub_categories":[],"readme":"# Windows File History Cleaner\n\nSimple commandline executable to turn a File History share back into a snapshot of files\n\n## Sample command:\n\n```\nFileHistoryCleaner remove-history \n    --root \"C:\\BACKUP\" \n    --recursive \n    --rd \"(\\\\node_modules$|\\\\\\$tf$|\\.git$|\\\\locallow$|\\\\bin$|\\\\obj$|packages$)\" \n    --rf \"(\\.DS_Store|.lnk$|\\.exe$|\\.msi$|\\.iso$|\\.dll$)\"  \n    --verbose \n    --force\n    --whatif\n```\n\n * `--root` points to the root of a File History share (or copy of one)\n * `--recursive` traverses all sub directories\n * `--rd` deletes directory recursively if it match the supplied regex. Be careful of the escape rules of both your commandline processor and regex.\n * `--rf` deletes files if it match the supplied regex. Be careful of the escape rules of both your commandline processor and regex.\n * `--verbose` outputs more logs\n * `--force` delete instead of move to the recycle bin\n * `--whatif` Output actions, but do not actually perform them\n \n ## History\n \n I wrote this little tool after my NAS became inaccessible. While taking a backup of the drives I found out the File History Snapshot of my laptop had grown beyong 1.4TB. \n \n By running this little cleanup tool I managed to return the snapshot to 60GB of only the latest versions of every file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjessehouwing%2Fwindowsfilehistorycleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjessehouwing%2Fwindowsfilehistorycleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjessehouwing%2Fwindowsfilehistorycleaner/lists"}