ptrash

Langue: en

Version: 146828 (fedora - 04/07/09)

Section: 1 (Commandes utilisateur)

ptrash-v1.0 - move file(s) to ~/.trash directory

SYNOPSIS

ptrash [Option] file-name-1 [file-name-2 ...]

DESCRIPTION

ptrash is a console based simple application. ptrash moves the named file(s) to trash directory located under the home directory of a user. In case if ~/.trash is non-existent, ptrash creates it for you and then moves the file(s) to this directory. By default, ptrash runs in non-interactive mode, which means it does not ask user if she is sure to move the file to ~/.trash even when the named file already exists in trash and proceeds with overwriting that file.

OPTIONS

ptrash supports the following options
-d --delete
Delete file(s) from trash
-h --help
Prints this short usage help
-i
Enables an interactive moving of files to trash, that is ask for confirmation before over writing an existing file in trash
-r --restore
Restore a file from trash to it's original location
-v --verbose
Verbose operation mode
-V --version
Displays the version information

SEE ALSO

cp(1) mv(1) rm(1) shred(1)

BUG(s)

If you think you have found a bug in ptrash-v1.0, send an email to <pj.pandit AT yahoo.co.in>, and while doing so please include the ptrash-<version> string in the subject line, and describe precisely about the behaviour of ptrash.

NOTE

ptrash does not facilitate moving of symbolic links to/from ~/.trash.

AUTHOR

Prasad J Pandit <pj.pandit AT yahoo.co.in>