{"id":15658067,"url":"https://github.com/terry-xiaoyu/disc-sweeper","last_synced_at":"2026-05-18T10:39:58.662Z","repository":{"id":94707434,"uuid":"99090352","full_name":"terry-xiaoyu/disc-sweeper","owner":"terry-xiaoyu","description":"A disk cleaner/sweeper useful to clean your expired files","archived":false,"fork":false,"pushed_at":"2017-08-03T01:48:52.000Z","size":5,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-03T19:34:35.846Z","etag":null,"topics":["clean","cleaner","delete-files","disc","disk","finder","linux","sweep","sweeper"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/terry-xiaoyu.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":"2017-08-02T08:11:33.000Z","updated_at":"2017-08-02T09:04:11.000Z","dependencies_parsed_at":"2023-03-24T20:01:36.833Z","dependency_job_id":null,"html_url":"https://github.com/terry-xiaoyu/disc-sweeper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/terry-xiaoyu/disc-sweeper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terry-xiaoyu%2Fdisc-sweeper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terry-xiaoyu%2Fdisc-sweeper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terry-xiaoyu%2Fdisc-sweeper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terry-xiaoyu%2Fdisc-sweeper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terry-xiaoyu","download_url":"https://codeload.github.com/terry-xiaoyu/disc-sweeper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terry-xiaoyu%2Fdisc-sweeper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33175295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"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":["clean","cleaner","delete-files","disc","disk","finder","linux","sweep","sweeper"],"created_at":"2024-10-03T13:10:49.852Z","updated_at":"2026-05-18T10:39:53.653Z","avatar_url":"https://github.com/terry-xiaoyu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## disc-sweeper\nThis is a small python script used to clean expired files on your server, if there is no enough disk space.\n\nIt uses following linux command to clean your server.\n```shell\nfind /path/to/be/cleaned -mindepth 1 -mtime +{days_of_expiry} -depth -print \u003e /path/to/log/sweep-date.log\n```\nIt will also email you before the clean.\n\nPlease set the constants at the beginning of the script.\n\nNOTE:\nYour email account should allow login from 'less-secured' apps\n\n### config the crontab\nThe following config runs a crontab task at 10:00 and 18:00 every day\n```shell\ncat /etc/crontab\n0  10,18 * * * root python /data/disc-sweeper/discMonitor.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterry-xiaoyu%2Fdisc-sweeper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterry-xiaoyu%2Fdisc-sweeper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterry-xiaoyu%2Fdisc-sweeper/lists"}