{"id":20348093,"url":"https://github.com/uriid1/python-trash-cli","last_synced_at":"2026-05-31T22:31:54.104Z","repository":{"id":41262278,"uuid":"508466977","full_name":"uriid1/python-trash-cli","owner":"uriid1","description":"Managing the Trash from the Command Line.","archived":false,"fork":false,"pushed_at":"2022-09-27T16:23:16.000Z","size":8,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T16:15:54.288Z","etag":null,"topics":["cli","command-line-tool","python","python3","server-tool","tool"],"latest_commit_sha":null,"homepage":"","language":"Python","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/uriid1.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":"2022-06-28T22:00:29.000Z","updated_at":"2023-02-13T18:07:59.000Z","dependencies_parsed_at":"2022-09-02T23:32:44.337Z","dependency_job_id":null,"html_url":"https://github.com/uriid1/python-trash-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/uriid1/python-trash-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriid1%2Fpython-trash-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriid1%2Fpython-trash-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriid1%2Fpython-trash-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriid1%2Fpython-trash-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uriid1","download_url":"https://codeload.github.com/uriid1/python-trash-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriid1%2Fpython-trash-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33752286,"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-05-31T02:00:06.040Z","response_time":95,"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":["cli","command-line-tool","python","python3","server-tool","tool"],"created_at":"2024-11-14T22:19:11.144Z","updated_at":"2026-05-31T22:31:54.090Z","avatar_url":"https://github.com/uriid1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-trash-cli\nManaging the Trash from the Command Line.\n\nThis script is designed according to the specification:\nBut does not include 'directorysizes' support.\nhttps://specifications.freedesktop.org/trash-spec/trashspec-latest.html\n\n# Usage\n```\n-P, --put\n    Sending one or more files to the trash.\n    The '*' operator is supported to send all\n    files from the specified directory.\n    Example: trash --put *\n\n-L, --list\n    show the content of the Trash.\n    Example: trash --list\n\n-RM, --remove\n    Deleting one or more files from the trash.\n    Example: trash -RM foo bar\n\n-E, --empty\n    Emptying the Trash.\n    Use the -y option to delete without confirmation.\n    Example: trash -E -y\n\n-RS, --restore\n    Restoring one or more files.\n    Example: trash -RS foo bar\n\n-RSA, --restore-all\n    Restoring all files.\n    Example: trash --restore-all\n```\n\n# Install\n$ git clone https://github.com/uriid1/python-trash-cli/ \u003cbr\u003e\n$ cd python-trash-cli \u003cbr\u003e\n$ chmod +x install \u003cbr\u003e\n$ sh install \u003cbr\u003e\n$ Done! Delele python-trash-cli folder.\n\n# Uninstall\n$ rm ~/.local/bin/trash","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furiid1%2Fpython-trash-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furiid1%2Fpython-trash-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furiid1%2Fpython-trash-cli/lists"}