🗑️ trsh is a lightweight and powerful command-line utility designed to simplify file management on Linux systems. It allows you to confidently delete files, restore them effortlessly, and keep your trash bin clutter-free with automatic purging.
- Delete Files: Securely move files to the trash bin.
- Restore Files: Effortlessly restore files to their original locations.
- List Items: View the contents of the trash bin.
- Empty Trash: Permanently delete all items in the trash bin.
- Automatic Purging: Schedule automatic purging of old files beyond a specified grace period.
trsh delete file1 file2
trsh restore file1
trsh list
trsh empty
trsh config --retention-period 7
This will add a cron job or systemd timer for daily purging.
If you'd like to contribute to this project, please check out our Contribution Guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by Elias W. BA [email protected]
If you like this tool please add star on this project, it will help a lot for my motivation to keep maintaining it.
Delete with Confidence, Restore with Ease! Explore the power of "trsh" for seamless file management on your Linux system.