{"id":13625219,"url":"https://github.com/sindresorhus/macos-trash","last_synced_at":"2025-05-15T13:07:21.103Z","repository":{"id":26400483,"uuid":"29850217","full_name":"sindresorhus/macos-trash","owner":"sindresorhus","description":"Move files and folders to the trash","archived":false,"fork":false,"pushed_at":"2025-03-09T05:32:50.000Z","size":21,"stargazers_count":389,"open_issues_count":5,"forks_count":16,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-05-07T09:33:37.272Z","etag":null,"topics":["macos","swift-package","trash"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/sindresorhus.png","metadata":{"funding":{"github":"sindresorhus","open_collective":"sindresorhus","buy_me_a_coffee":"sindresorhus","custom":"https://sindresorhus.com/donate"},"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":"2015-01-26T07:38:30.000Z","updated_at":"2025-04-27T09:23:00.000Z","dependencies_parsed_at":"2025-03-20T09:20:22.577Z","dependency_job_id":"bbdc8578-e34b-47f7-80b9-ce083faafbb6","html_url":"https://github.com/sindresorhus/macos-trash","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fmacos-trash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fmacos-trash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fmacos-trash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fmacos-trash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/macos-trash/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253618894,"owners_count":21937068,"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","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":["macos","swift-package","trash"],"created_at":"2024-08-01T21:01:52.648Z","updated_at":"2025-05-15T13:07:21.061Z","avatar_url":"https://github.com/sindresorhus.png","language":"Swift","funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://buymeacoffee.com/sindresorhus","https://sindresorhus.com/donate"],"categories":["macos","Swift","Tools"],"sub_categories":["Swift"],"readme":"# macos-trash\n\n\u003e Move files and folders to the trash\n\n*Requires macOS 10.13 or later.*\n\nSince macOS 14, there is now a built-in `trash` command. The benefit of the binary here is that it has a `--interactive` flag.\n\n## Install\n\n###### [Homebrew](https://brew.sh)\n\n```sh\nbrew install macos-trash\n```\n\n###### [Mint](https://github.com/yonaskolb/Mint)\n\n```sh\nmint install sindresorhus/macos-trash\n```\n\n###### Manually\n\n[Download](https://github.com/sindresorhus/macos-trash/releases/latest) the binary and put it in `/usr/local/bin`.\n\n## Usage\n\n```sh\ntrash [--help | -h] [--version | -v] [--interactive | -i] \u003cpath\u003e […]\n```\n\n## Build\n\n```sh\n./build\n```\n\n## Related\n\n- [trash](https://github.com/sindresorhus/trash) - Cross-platform Node.js version\n- [empty-trash](https://github.com/sindresorhus/empty-trash) - Empty the trash\n- [macos-wallpaper](https://github.com/sindresorhus/macos-wallpaper) - Manage the desktop wallpaper\n- [do-not-disturb](https://github.com/sindresorhus/do-not-disturb) - Control the macOS `Do Not Disturb` feature\n- [More…](https://github.com/search?q=user%3Asindresorhus+language%3Aswift+archived%3Afalse\u0026type=repositories)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fmacos-trash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsindresorhus%2Fmacos-trash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fmacos-trash/lists"}