From 532dc25d865ececfb4eeb88309d720901612e795 Mon Sep 17 00:00:00 2001 From: Robert Rothenberg Date: Sun, 27 Mar 2011 22:23:56 +0100 Subject: [PATCH] Added README file --- README | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..4e67abe --- /dev/null +++ b/README @@ -0,0 +1,42 @@ +bashtrash - a bash-shell implementation of the Freedesktop.org + trashcan specification. + +This project was originally a quick hack to show that one could +implement a compliant trashcan utility using bash and standard Unix +commands. It has evolved to have options to make it (somewhat) +compatible as a replacement for rm. + +It requires the following utilities: + + awk + bash + cat + getopt + mkdir + mv + sed + +Usage: trash [OPTION]... FILE... + +Move files into the trash. + +Options: + --version show program's version number and exit + -h, --help show this help message and exit + -v, --verbose explain what is being done + -i, --interactive prompt before moving every file + -r, -R, --recursive ignored (for compatability with rm) + -f, --force ignore non-existent files, never prompt + +Copyright (c) 2009-2011, Robert Rothenberg + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. +