1
2
3
4
5
6
7
8
9ptrash(1) General Commands Manual ptrash(1)
10
11
12
14 ptrash - move file(s) to ~/.trash directory
15
17 ptrash [OPTIONS] file-name-1 [file-name-2 ...]
18
20 ptrash is a console based simple application. ptrash moves the named
21 file(s) to trash directory located under the home directory of a user.
22 In case if ~/.trash is non-existent, ptrash creates it for you and then
23 moves the file(s) to this directory. By default, ptrash runs in non-
24 interactive mode, which means it does not ask user if she is sure to
25 move the file to ~/.trash even when the named file already exists in
26 trash and proceeds with overwriting that file.
27
29 ptrash supports the following options
30
31 -d --delete
32 Delete file(s) from trash
33
34 -i Enables an interactive moving of files to/from trash. ie. It
35 asks for confirmation before over writing OR deleting any exist‐
36 ing file.
37
38 -r --restore
39 Restore a file from trash to it's original location
40
41
42 -h --help
43 Prints this short usage help
44
45 -v --verbose
46 Verbose operation mode
47
48 -V --version
49 Displays the version information
50
52 cp(1) mv(1) rm(1) shred(1)
53
55 If you think you have found a bug in ptrash, please write to me with
56 the ptrash-<version> string in the subject line, explaining precisely
57 about the behaviour of ptrash.
58
60 ptrash does not facilitate moving of symbolic links to/from ~/.trash.
61
63 Prasad J Pandit <pj.pandit at yahoo.co.in>
64
65
66
67 ptrash(1)