You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
rmtrash 1.7
1
+
rmtrash 1.8
2
2
===========
3
3
Put files (and directories) in trash using the ```trash-put``` command in a way that is, otherwise as ```trash-put``` itself, compatible to GNUs ```rm``` and ```rmdir```.
*```-p```, ```--parents```: remove DIRECTORY and its ancestors; e.g., ```rmdirtrash -p a/b/c``` is similar to ```rmdirtrash a/b/c a/b a```
59
59
*```-v```, ```--verbose```: output a diagnostic for every directory processed
60
60
61
-
Replacement options
62
-
-------------------
63
-
These options are not supposed to be used when calling ```rmtrash``` resp. ```rmdirtrash```. They help you to control how and in which cases ```rm``` resp. ```rmdir``` are replaced.
64
-
*```--forbid-root```: forbid user ```root``` to trash files/directories. When standard input is a terminal, the user is asked to pass the command to ```rm``` resp. ```rmdir```, otherwise the entire command is aborted
65
-
*```--forbid-root-force```: when user ```root``` trys to trash files/directories, the entire command is passed automatically to ```rm``` resp. ```rmdir```
61
+
Replacement option
62
+
------------------
63
+
This option is not supposed to be used when calling ```rmtrash``` resp. ```rmdirtrash```. It helps you to control how and in which cases ```rm``` resp. ```rmdir``` are replaced.
64
+
*```--forbid-root[=HOW]```: forbid user ```root``` to trash files. When standard input is a terminal, ```ask-forbid``` and ```ask-pass``` will question the user to pass the command to ```/bin/rm```. When standard input is no terminal, ```ask-forbid``` will abort the command, whereas ```ask-pass``` will pass the command to ```/bin/rm```. Use ```pass``` to pass all commands of user ```root``` to ```/bin/rm```. If user ```root``` should never trash files, use ```always```. Without ```HOW```, ```ask-forbid``` is assumed
66
65
67
66
Additional Notes
68
67
----------------
@@ -75,7 +74,7 @@ Typically you won't notice a time delay when using ```rmtrash``` and ```rmdirtra
75
74
76
75
License & Copyright
77
76
-------------------
78
-
Copyright (C) 2011-2013 Daniel Rudolf <http://www.daniel-rudolf.de/>
77
+
Copyright (C) 2011-2014 Daniel Rudolf <http://www.daniel-rudolf.de/>
79
78
80
79
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, version 3 of the License only.
0 commit comments