slackbuilds/system/trashy
B. Watson 9ffbc67bd8 system/trashy: Clean up build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
2022-03-17 13:23:07 -04:00
..
README system/trashy: Clean up build. 2022-03-17 13:23:07 -04:00
slack-desc system/trashy: Clean up build. 2022-03-17 13:23:07 -04:00
trashy.SlackBuild system/trashy: Clean up build. 2022-03-17 13:23:07 -04:00
trashy.info

README

A (mostly) Freedesktop compliant rubbish bin interface for the shell
written entirely in BASH.

http://slackermedia.info/trashy

Usage
-----

Trashy is a simple shell script that introduces the idea of a trash
can for the command line. Meaning that you can issue this command:

   $ trash foo bar

and the files 'foo' and 'bar' will be moved to your system trash.

or...

   $ trash baz\ quux

and the file 'baz quux' will be moved to your system trash.

Simple as that. When you're really really sure that everything in
your Trash wants to be nuked out of existence, then you can
issue the command:

   $ trash --empty

and your system trash will be emptied.

System Trash
------------

Trashy defines a "system trash" on Linux, BSD, and Solaris-based
operating systems in accordance with the Open Desktop standard:
~/.local/share/Trash

On systems that do not use a desktop, trashy simply creates a ~/.trash
folder (unless you sometimes use a desktop, in which case your
desktop's tash will be continued to be used).

On systems that do have a desktop but do not follow the Open Desktop
standard, trashy tries to conform with what they do use. If all else
fails, ~/.trash is used.