{"id":16539992,"url":"https://github.com/tyru/goriki","last_synced_at":"2026-06-12T09:31:30.128Z","repository":{"id":9249736,"uuid":"11072269","full_name":"tyru/goriki","owner":"tyru","description":"delete old files one by one until total file size becomes lower than specified file size","archived":false,"fork":false,"pushed_at":"2013-07-27T09:24:52.000Z","size":136,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T03:22:36.282Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"barryclark/jekyll-now","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tyru.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}},"created_at":"2013-06-30T15:10:49.000Z","updated_at":"2013-10-20T20:13:09.000Z","dependencies_parsed_at":"2022-09-06T02:01:31.813Z","dependency_job_id":null,"html_url":"https://github.com/tyru/goriki","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tyru/goriki","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyru%2Fgoriki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyru%2Fgoriki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyru%2Fgoriki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyru%2Fgoriki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tyru","download_url":"https://codeload.github.com/tyru/goriki/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyru%2Fgoriki/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34238712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"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":[],"created_at":"2024-10-11T18:51:17.834Z","updated_at":"2026-06-12T09:31:30.087Z","avatar_url":"https://github.com/tyru.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Lazy Tool for Round-Robin Life (case 1: Me)\n\n`Dropbox/pdf` folder is copied to NAS folder\u003cbr /\u003e\nso there is no matter to delete `Dropbox/pdf` folder.\n\n    Dropbox/pdf --\u003e NAS\n\nand I want to delete old(\\*1) files not to concern disk (and Dropbox) resource.\u003cbr /\u003e\n(like Mac's TimeMachine backup management. I like the way for disk resource management)\n\n    Dropbox/pdf (Maximum size = 2GB)\n\n`goriki` is the tool for it.\u003cbr /\u003e\nIt deletes old files until total file size becomes lower than specified file size.\u003cbr /\u003e\nYou can create a task to invoke `goriki` from Windows TaskScheduler like the following:\n\n    C:\\path\\to\\goriki.exe --folder C:\\Users\\user\\Dropbox\\pdf --max-size 2G --verbose --log-file C:\\Users\\user\\Dropbox\\goriki.log --ignore .organizer (\\*2)\n\n\nSee `goriki.exe --help` for more detailed help of each option.\n\n\n\\*1: `old` is determined by modification time.\u003cbr /\u003e\n\\*2: `--ignore .organizer`: for ignoring `.organizer` folder created by scanner [ScanSnap iX500](http://scansnap.fujitsu.com/jp/product/ix500/) (Japanese).\u003cbr /\u003e\n\n\n# Environment\n\nI use `goriki` only on Windows.\u003cbr /\u003e\nbut this might work on Unix like environment because this is very simple tool.\n\n\n# Another Round-Robin Tool\n\nSometimes I forget erase all files in Trash of Desktop.\u003cbr /\u003e\n[NonRccDel](http://homepage2.nifty.com/nonnon/) (Japanese) can erase old files in Trash\nwhich are older than specified day(s) by command-line.\u003cbr /\u003e\nI created a task for also NonRccDel.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyru%2Fgoriki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyru%2Fgoriki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyru%2Fgoriki/lists"}