diff options
-rw-r--r-- | system/rmw/README.Slackware | 86 | ||||
-rw-r--r-- | system/rmw/rmw.SlackBuild | 16 | ||||
-rw-r--r-- | system/rmw/rmw.info | 6 |
3 files changed, 97 insertions, 11 deletions
diff --git a/system/rmw/README.Slackware b/system/rmw/README.Slackware new file mode 100644 index 0000000000000..6de5741d45eb6 --- /dev/null +++ b/system/rmw/README.Slackware @@ -0,0 +1,86 @@ +rmw (ReMove to Waste) functions as a command line recycle bin/trash can +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. + +After rmw is installed, create the user configuration directory by typing +'rmw' and hitting enter. 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' +'~/.config/rmw$ cp /etc/rmwrc .' +'~/.config/rmw$ mv rmwrc config' + +Then edit the file to suit your needs. + +A generic configuration file looks like this: + +WASTE = $HOME/.trash.rmw +#WASTE = $HOME/.local/share/Trash +purge_after = 90 + +PROTECT = / +PROTECT = $HOME + +Waste folders will be created automatically. (e.g. if '$HOME/trash.rmw' +is listed in the config file, these 3 directories will be created: +$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 +only check once per day if it's time to purge. Use -g to force a check. +The day of the last purge is stored in $HOME/config/rmw/lastpurge + +== Options ==: + +-c, --config filename use an alternate configuration +-l, --list list waste directories +-p, --pause wait for a keypress before exiting +-g, --purge run purge even if it's been run today +-z, --restore <wildcard filename(s) pattern> +-s, --select select files from list to restore +-u, --undo-last undo last ReMove +-B, --bypass bypass directory protection +-v, --verbose increase output messages +-w, --warranty display warranty +-V, --version display version and license information + +== -z option == + +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. + +== 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) + +== Help, Support, and Discussion == + +Web site: https://github.com/andy5995/rmw/releases + +Forum: https://sourceforge.net/p/rmw/discussion/ + +IRC: Quakenet IRC network - #rmw +http://webchat.quakenet.org/?channels=rmw + +Mailing list (new releases): +https://lists.sourceforge.net/lists/listinfo/rmw-announce diff --git a/system/rmw/rmw.SlackBuild b/system/rmw/rmw.SlackBuild index 6e683283a96df..daae56548c55a 100644 --- a/system/rmw/rmw.SlackBuild +++ b/system/rmw/rmw.SlackBuild @@ -5,13 +5,13 @@ # Written by (Andy Alt) (andyqwerty@users.sourceforge.net) PRGNAM=rmw -VERSION=${VERSION:-2016.08.06.01a} +VERSION=${VERSION:-2016.08.17.01a} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -22,8 +22,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -46,10 +46,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/system/rmw/rmw.info b/system/rmw/rmw.info index c15fae12abda7..e97510fa6875a 100644 --- a/system/rmw/rmw.info +++ b/system/rmw/rmw.info @@ -1,8 +1,8 @@ PRGNAM="rmw" -VERSION="2016.08.06.01a" +VERSION="2016.08.17.01a" HOMEPAGE="http://rmw.sf.net/" -DOWNLOAD="https://sourceforge.net/projects/rmw/files/rmw-2016.08.06.01a.tar.gz" -MD5SUM="2468432ae60c0a33b398cfd276368783" +DOWNLOAD="https://sourceforge.net/projects/rmw/files/rmw-2016.08.17.01a.tar.gz" +MD5SUM="88cd432df326ba9aedca57727d2a1eb7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |