ptrash man page

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


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


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.


ptrash supports the following options

-d --delete
Delete file(s) from trash
-h --help
Prints this short usage help
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)


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.


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


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


Explore man page connections for ptrash(1).