From 24e0f2ca3ce871217d41fd1f961becb28dc939a4 Mon Sep 17 00:00:00 2001 From: Andy Alt Date: Mon, 5 Sep 2016 22:54:16 +0700 Subject: system/rmw: Updated for version 2016.09.04.01a. Signed-off-by: Willy Sudiarto Raharjo --- system/rmw/README.Slackware | 48 +++++++++++++++++++-------------------------- 1 file changed, 20 insertions(+), 28 deletions(-) (limited to 'system/rmw/README.Slackware') diff --git a/system/rmw/README.Slackware b/system/rmw/README.Slackware index 6de5741d45..03b0584414 100644 --- a/system/rmw/README.Slackware +++ b/system/rmw/README.Slackware @@ -3,8 +3,10 @@ utility. Optionally, it can ReMove files to Desktop trash, restore files, list files to be selected for restore, and purge (permanently delete) files that were trashed x number of days ago. +Web site: https://github.com/andy5995/rmw/wiki + After rmw is installed, create the user configuration directory by typing -'rmw' and hitting enter. It's recommended to copy /etc/rmwrc (or +'rmw' and hitting enter. Afterward, it's recommended to copy /etc/rmwrc (or /usr/local/etc/rmwrc) to $HOME/.config/rmw and then rename it to 'config': 'cd ~/.config/rmw' @@ -13,14 +15,13 @@ After rmw is installed, create the user configuration directory by typing Then edit the file to suit your needs. -A generic configuration file looks like this: +At some point, rmw will automatically create a 'lastpurge' and 'lastrmw' +in that same directory. -WASTE = $HOME/.trash.rmw -#WASTE = $HOME/.local/share/Trash -purge_after = 90 +== Configuration File == -PROTECT = / -PROTECT = $HOME +Documentation explaining the configuration can be found in 'rmwrc', and +extra examples in 'rmwrc_config_example'. Waste folders will be created automatically. (e.g. if '$HOME/trash.rmw' is listed in the config file, these 3 directories will be created: @@ -28,13 +29,8 @@ $HOME/trash.rmw $HOME/trash.rmw/files $HOME/trash.rmw/info -If you'd like rmw to be tied in to your existing Desktop Trash, uncomment -'#WASTE = $HOME/.local/share/Trash' - -What will happen is when files get rmw'ed, you'll see them in your Desktop -Trash, and rmw will check your Trash to see if it's time to purge any files. - == Purging == + If purging is 'on', rmw will permanently delete files from the folders specified in the configuration file after 'x' number of days. Purging can be disabled by using 'purgeDays = 0' in configuration file. rmw will @@ -61,26 +57,22 @@ While -z can restore files at the command line, you have to specify the full path (wildcards ok). Example: rmw -z ~/.trash.rmw/files/*.iso -In the future, it's planned to eliminate the need to specify the path. rmw -will automatically look in all the Waste directories. +The other way is be in the WASTE/files/ folder; then using only +the basename will work. == Protected directories == -Presently, if a protected directory is accidently rmw'ed from the command -line, rmw will prevent sending the directory to the trash, however, files -within protected directories can still be rmw'ed. - -rmw /home/andy (nothing would happen) -rmw /home/andy/* (files would get rmw'ed) +explained: +if 'PROTECT = /home/andy' is specified in the config file, /home/andy, and +all dirs and files beneath it will be "protected". This warning will show +up: -== Help, Support, and Discussion == +"File is in protected directory: " -Web site: https://github.com/andy5995/rmw/releases +And it will not get rmw'ed -Forum: https://sourceforge.net/p/rmw/discussion/ +WASTE folders and the rmw configuration/data directory are protected by +default (there is no need to add a 'PROTECT =' line for them. -IRC: Quakenet IRC network - #rmw -http://webchat.quakenet.org/?channels=rmw -Mailing list (new releases): -https://lists.sourceforge.net/lists/listinfo/rmw-announce +This file was last updated 2016-09-03 -- cgit v1.2.3