index
:
chadscripts
master
My scripts.
filip.rabiega@gmail.com
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
saferm
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'saferm')
-rwxr-xr-x
saferm
1
1 files changed, 1 insertions, 0 deletions
diff --git a/saferm b/saferm
index ca49554..3fc7908 100755
--- a/
saferm
+++ b/
saferm
@@ -1,4 +1,5 @@
#!/bin/sh
+# Archives file before removing it
archive="$HOME/.removed"
realrm="$(which rm)"