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.
0.7.0602 Mar 2021 05:45
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 ).
restore broken symbolic links instead of giving a "file not.
found" message ()
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
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
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.
Lastpurge is now 'purge-time' and stored in XDG_DATA_HOME/rmw or.
Lastrmw is now 'mrl' and stored in XDG_DATA_HOME/rmw or.
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
0.7.0307 Aug 2019 03:15
Rmw now gets the user's HOMEDIR from a passwd struct (seehttps://linux.die.net/man/3/getpwnam), not from the environmental
A waste folder can now use the UID (user id) variable. Example:
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
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