system/rmw: Updated for version 0.7.01.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
6fac3c2792
commit
3d6809694f
|
@ -1,7 +1,4 @@
|
|||
rmw is an OS portable cli trash can utility written in C. It can send
|
||||
files to your "Desktop" trash, or a completely separate folder. It can
|
||||
also: restore files; permanently delete files that were rmw'ed more
|
||||
than xx number of days ago; skip files or directories that have a
|
||||
"PROTECT" directive in the configuration file; and append a unique
|
||||
string to the filenames so they won't be overwritten (duplication
|
||||
protection).
|
||||
rmw (ReMove to Waste) is a cross-platform command-line "trash can"
|
||||
utility. It can send files to your "Desktop" trash, or a completely
|
||||
separate folder; restore files and append a unique string to the
|
||||
filenames so they won't be overwritten (duplication protection).
|
||||
|
|
|
@ -1,49 +1,63 @@
|
|||
[](https://travis-ci.org/theimpossibleastronaut/rmw)
|
||||
[](https://semaphoreci.com/andy5995/rmw-3)
|
||||
# rmw v0.7.01
|
||||
|
||||
# rmw v0.4.05
|
||||
rmw (ReMove to Waste) is a cross-platform command-line "trash can"
|
||||
utility. It can send files to your "Desktop" trash, or a completely
|
||||
separate folder; restore files and append a unique string to the
|
||||
filenames so they won't be overwritten (duplication protection).
|
||||
|
||||
rmw is a cross-platform command-line "trash can" utility. It can send
|
||||
files to your "Desktop" trash, or a completely separate folder. It can
|
||||
also: restore files; permanently delete files that were rmw'ed more
|
||||
than x number of days ago; skip files or directories that have a
|
||||
"PROTECT" directive in the configuration file; and append a unique
|
||||
string to the filenames so they won't be overwritten (duplication
|
||||
protection).
|
||||
Web site: https://remove-to-waste.info/
|
||||
|
||||
Web site: https://github.com/theimpossibleastronaut/rmw/wiki
|
||||
## Build Status
|
||||
|
||||
Anyone interested in this project is welcome to join the [Matrix chat
|
||||
room](https://matrix.to/#/!XeJxcdkywroPaRKKtr:matrix.org).
|
||||
* [Travis Build](https://travis-ci.org/theimpossibleastronaut/rmw) 
|
||||
* [Semaphore Build](https://semaphoreci.com/andy5995/rmw-3) 
|
||||
|
||||
## For Translators
|
||||
## Screenshots
|
||||
|
||||
We use Transifex to translate the output messages. To start translating
|
||||
rmw, create an account in Transifex and ask to join a translation
|
||||
team (or create a new one) at
|
||||
https://www.transifex.com/na-309/rmw/
|
||||

|
||||
|
||||
[More Screenshots](https://remove-to-waste.info/screenshots.html)
|
||||
|
||||
## Contact / Support
|
||||
|
||||
See website [Help and Support section](https://remove-to-waste.info/#support)
|
||||
|
||||
## Required libraries
|
||||
|
||||
libncurses5
|
||||
libncursesw
|
||||
|
||||
If you are building from source, you will need the libncurses(5 or 6)-dev
|
||||
If you are building from source, you will need the libncursesw(5 or 6)-dev
|
||||
package from your operating system distribution.
|
||||
|
||||
## Installation
|
||||
Note: On OpenBSD, you must precede `./configure` with `MENU_LIBS=-lmenuw`.
|
||||
Example:
|
||||
|
||||
### With superuser privileges:
|
||||
MENU_LIBS=-lmenuw ./configure
|
||||
|
||||
Use `./configure --help` to view available compile-time options.
|
||||
Note: rmw has been built on Windows 2 years ago using Cygwin but it
|
||||
didn't use the proper directories. We have no Windows developers
|
||||
working on this project and are hoping that some will join soon!. As
|
||||
stated in the description, the goal of this project is a
|
||||
"cross-platform" utility; so getting rmw to work reliably on Windows is
|
||||
still on the TODO list.
|
||||
|
||||
./configure
|
||||
make
|
||||
make install
|
||||
## Compiling
|
||||
|
||||
### As a normal user:
|
||||
|
||||
./configure --prefix=$HOME/usr
|
||||
Use `../configure --help` to view available compile-time options.
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
../configure
|
||||
make
|
||||
|
||||
### Installing without superuser privileges
|
||||
|
||||
If you would like to install rmw without superuser privileges, use a prefix
|
||||
that you have write access to. Example:
|
||||
|
||||
../configure --prefix=$HOME/usr
|
||||
make
|
||||
make install
|
||||
|
||||
|
@ -75,16 +89,8 @@ Add a tap and install rmw:
|
|||
If you installed rmw as a normal user, this next step can be skipped.
|
||||
|
||||
After rmw is installed, create the user configuration directory by
|
||||
typing 'rmw' and hitting enter. Afterward, copy rmwrc to
|
||||
$HOME/.config/rmw and rename it to 'config':
|
||||
|
||||
cd ~/.config/rmw
|
||||
~/.config/rmw$ cp rmwrc config
|
||||
|
||||
Then edit the file to suit your needs.
|
||||
|
||||
rmw will automatically create a 'lastpurge' and 'lastrmw' in that same
|
||||
directory.
|
||||
typing 'rmw' and hitting enter. A configuration file will be
|
||||
automatically created in $HOME/.config/rmw. Edit the file as desired.
|
||||
|
||||
== Configuration File ==
|
||||
|
||||
|
@ -116,7 +122,6 @@ Restore FILE(s) from a WASTE directory
|
|||
-g, --purge run purge even if it's been run today
|
||||
-o, --orphaned check for orphaned files (maintenance)
|
||||
-f, --force allow purge to run
|
||||
-B, --bypass bypass directory protection
|
||||
-v, --verbose increase output messages
|
||||
-w, --warranty display warranty
|
||||
-V, --version display version and license information
|
||||
|
@ -162,30 +167,26 @@ NOTE: That feature will not process wildcards unless the user is in a
|
|||
<WASTE>/files folder and the filespec actually exists in the present working
|
||||
directory.
|
||||
|
||||
== Protected directories ==
|
||||
|
||||
If 'PROTECT = /home/andy' is specified in the config file, /home/andy, and all
|
||||
dirs and files beneath it will be "protected"; they will be skipped, and this
|
||||
warning will be displayed:
|
||||
|
||||
"File is in protected directory: <filename/dir>"
|
||||
|
||||
WASTE folders and the rmw configuration/data directory are protected by
|
||||
default (there is no need to add a 'PROTECT =' line for them.
|
||||
|
||||
Protection can by bypassed using -B
|
||||
|
||||
== -t, --translate ==
|
||||
|
||||
If a translation of the configuration file is available in your native
|
||||
language is available, it will be displayed.
|
||||
A translation of the configuration file in your native
|
||||
language (if available) will be displayed.
|
||||
|
||||
(If you would be interested in adding a translation, please visit
|
||||
https://github.com/theimpossibleastronaut/rmw/wiki/Translating)
|
||||
|
||||
== -f, --force ==
|
||||
|
||||
rmw will normally refuse to purge directories if they contain non-writable
|
||||
subdirectories. You can use -f 2 times if you ever see a message that tells
|
||||
you "permission denied; directory still contains files" (e.g. rwm -gff).
|
||||
|
||||
## Notes
|
||||
|
||||
After you use rmw, it will create a 'lastpurge' and 'lastrmw' file in
|
||||
$HOME/config/rmw. `lastpurge` contains the day of the last time rmw did
|
||||
a purge check (it only checks once per day). `lastrmw` contains the
|
||||
filenames of the last rmw operation; the file is read when `rmw -u` is
|
||||
used.
|
||||
|
||||
```
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=rmw
|
||||
VERSION=${VERSION:-0.4.05}
|
||||
VERSION=${VERSION:-0.7.01}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="rmw"
|
||||
VERSION="0.4.05"
|
||||
HOMEPAGE="https://github.com/theimpossibleastronaut/rmw/wiki"
|
||||
DOWNLOAD="https://github.com/theimpossibleastronaut/rmw/releases/download/v0.4.05/rmw-0.4.05.tar.gz"
|
||||
MD5SUM="6de074da3fcf206c7791d73ff81a70b0"
|
||||
VERSION="0.7.01"
|
||||
HOMEPAGE="https://remove-to-waste.info/"
|
||||
DOWNLOAD="https://github.com/theimpossibleastronaut/rmw/releases/download/v0.7.01/rmw-0.7.01.tar.gz"
|
||||
MD5SUM="33cbad38e4feb796b26ac39584f89794"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
|
@ -8,12 +8,12 @@
|
|||
|-----handy-ruler------------------------------------------------------|
|
||||
rmw: rmw (command line trash can/recycle bin)
|
||||
rmw:
|
||||
rmw: rmw is an OS portable cli trash can utility written in C. It can send
|
||||
rmw: files to your "Desktop" trash, or a completely separate folder. It
|
||||
rmw: can rmw: also: restore files; permanently delete files that were
|
||||
rmw: rmw'ed more than xx number of days ago; skip files or directories
|
||||
rmw: that have a "PROTECT" directive in the configuration file; and append
|
||||
rmw: a unique string to the filenames so they won't be overwritten
|
||||
rmw: (duplication protection).
|
||||
rmw: ReMove to Waste is a cross-platform command-line "trash can"
|
||||
rmw: utility. It can send files to your "Desktop" trash, or a completely
|
||||
rmw: separate folder; restore files and append a unique string to the
|
||||
rmw: filenames so they won't be overwritten (duplication protection).
|
||||
rmw:
|
||||
rmw: Homepage: https://remove-to-waste.info/
|
||||
rmw:
|
||||
rmw:
|
||||
rmw:
|
||||
rmw: Homepage: https://github.com/theimpossibleastronaut/rmw/wiki
|
||||
|
|
Loading…
Reference in New Issue