ReMove to Waste 0.8.0

rmw (ReMove to Waste) is a safe-remove utility for the command line. Its goal is to conform to the FreeDesktop.org Trash specification and therefore be compatible with KDE, GNOME, XFCE, and others. Desktop integration is optional however, and by default, rmw will only use a waste folder separated from your desktop trash. One of its unique features is the ability to purge files from your Waste/Trash directories after x number of days.

Tags terminal c end-users curses file-manager
License GNU GPLv3
State stable

Recent Releases

0.8.030 Jun 2021 03:16 minor feature: The config option 'purge_after' has been deprecated and replaced With 'expire_age' ('purge_after' will still be accepted, but the user Will be given a deprecation warning). . When '-u' is used, the mrl file will no longer be removed, but. Emptied instead. If a user gives the '-u' option when the mrl file is Empty, they will get a friendlier message stating that there are no Items in the list (instead of an error message about the file not Being found). . Handling of dot dirs ('.' and '..'). Instead of giving an. Error message and quitting, rmw will print a message stating that They'll be skipped. . The environmental variable RMWTEST_HOME has been replaced with. RMW_FAKE_HOME (Trying to use RMWTEST_HOME will give a deprecation Warning and still work). . Expanded the man page and updated the README (improved documentation). . Replaced autotools build system with meson. . Rmw now uses the canfigger library for parsing the configuration file. . Disabled a restore test that failed when 'make check' is run with Superuser privileges.
0.7.0907 May 2021 12:25 minor feature: filenames now display correctly when using '-vvg'.
0.7.0801 May 2021 03:16 minor feature: test failing on osx using xcode 11.5 and above.
0.7.0727 Apr 2021 14:05 minor feature: When restoring files from removable media or devices, rmw. Will now process relative paths (this primarily affects users who Trash a file with the "move to trash" option from their desktop, and Then later try to restore with rmw. See#299 for more Information). . list output (rmw -lv) shows all removable devices as. Attached even for those that are detached. . Removed deprecated config option (purgeDays). . Minor updates to tests infrastructure. . (for testing) Replace RMWTRASH(=fake-year) with RMW_FAKE_YEAR(=true).
0.7.0602 Mar 2021 05:45 minor feature: 0.7.06 (2021-03-01) ------------------ * When using -s,--select, the number of lines the terminal has will be checked. The number of items in the list will be based on that; if it doesn't meet the minumum requirement, rmw will exit. + Allow optional argument to -g/--purge that can override the value of 'purge_after' in the configuration file (-g N_DAYS , --purge =N_DAYS ). * bugfix: restore broken symbolic links instead of giving a "file not found" message (issue #292) * Improved handling of file with leading hyphens - When an invalid option is given, usage output no longer displays * You can view how many days remain until a file is purged by using -vv (with -fg). * If lstat() encounters and error, also display the filename/directory it was attempting to access. + add '-m, --most-recent-list' option: list most recently rmw'ed files
0.7.0518 Jun 2020 00:05 minor feature: For compiling with gcc 10 (Thanks to muralikodali and GazL) . Rmw will now refuse to move a waste folder or a file that resides. Within a waste folder (This feature was in place before, but at some Point Andy accidentally removed the code). . Feature removed: restore with '-z' using only the basename from any. Directory. User must be in a Trash directory or specify the full path (e.g. rmw -z /.local/share/Trash/foo.bar). For details, see. . Added '-R' option, changed '--recurse' option to '--recursive'. Added recursive (rm compatibility) options in --help output, message shown when using '-r, --recursive' . Broken purge test.
0.7.0413 Aug 2019 03:15 minor feature: To get user's home dir, revert back to retrieving via environmental Variable (conforms to FreeDesktop Trash Spec) . The config file is now read from XDG_CONFIG_HOME/rmwrc or. /.config/rmwrc. . Lastpurge is now 'purge-time' and stored in XDG_DATA_HOME/rmw or. /.local/share/rmw. . Lastrmw is now 'mrl' and stored in XDG_DATA_HOME/rmw or. /.local/share/rmw. . The default Waste folder (specified in the configuration file) is now. /.local/share/Waste instead of /trash.rmw. . The /.config/rmw directory is no longer used. It can be deleted. But you may first want to copy your old configuration file to the new Location.
0.7.0307 Aug 2019 03:15 minor feature: Rmw now gets the user's HOMEDIR from a passwd struct (seehttps://linux.die.net/man/3/getpwnam), not from the environmental Variable. . A waste folder can now use the UID (user id) variable. Example: /mnt/fs/Trash- UID. . Because rmw automatically creates a config file in the user's home. Directory, rmw no longer searches in /etc (or /usr/local/etc..) for rmwrc. It can be removed from your system if installed previously. . A lot of code clean-up and refactoring since the last release.
0.7.0213 Jul 2019 03:11 minor bugfix: bugfix:on some systems, purge would fail to run when requested, 'make check' failed. This was reported to happen on Manjaro and Arch. bugfix:missing output when purge is attempted without force feature_add:Emptying the waste folders is now done with the -e,--empty option