The autotrash command is created as a script, using poetry you can run the current implementation using: poetry run autotrashĪll pull requests and master builds are tested using github actions and require black formatting. You can install the package on Fedora right now with: yum install autotrash Development InformationĪutotrash is now in the stable repo for Fedora 20 and is going to be synced out on the mirrors also for Fedora 21.Įpel7 package is still in the testing repo but should go stable within few days. This will make sure that your trash is cleaned up every time you log in. Programs in GNOME using the menu: System -> Preferences -> Sessions If you do not know how to work with crontab, you could add it to the startup To configure this, run "crontab -e" and add one of these lines in theĮditor, then save and close the file. Or more frequently, but to keep disk IO down, only when there is less then 3GB of free space: /usr/bin/autotrash -max-free 3072 -d 30 You can also make autotrash process all user trash directories (not just in your home directory) by adding this crontab entry: /usr/bin/autotrash -td 30 To run autotrash daily using cron, add the following crontab entry: /usr/bin/autotrash -d 30 The service is installed to ~/.config/systemd/user so like the cron approach, root access is not required and multiple users have their own independent services. Systemctl -user disable autotrash.timer respectively. The timer can be enabled and disabled using systemctl -user enable autotrash.timer and Autortrash will handle the contents of your Trash folder and delete them automatically after a particular period of time. You don't need to empty the trash folder or do SHIFT+DELETE to permanently purge the files/folders. By default the app is set to provide an alert for the deletion of file (s) once the time frame for the same is over. This is where users select and delete files manually with a peace of mind. It will purge files that have been in the trash for more then a given number of days. Manually: When a user creates a preset and select Manually as a time frame option, Auto Trash does not delete or move files to Trash automatically. The service can be manually started with systemctl -user start autotrash. Autotrash is a command line utility to automatically purge old trashed files. Run autotrash -install to create a systemd service which runs daily with the provided arguments. Last option is to install autotrash using pip, for example, using: pip install -user autotrash Configuration Automatic Setup On Ubuntu and Debian try to install it using apt-get install autotrash. On Fedora consider using yum install autotrash Matching a particular regular expression are then purged, including their trashinfoįiles to determine their deletion date. It scans the ~/.local/share/Trash/info directory and reads the. Trash files for it's deletion information. Autotrash is a small python script to automatically remove
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |