added backup function, fixed permissions on 4chandl
This commit is contained in:
parent
1e11b7642b
commit
176fbf8611
|
@ -0,0 +1,3 @@
|
|||
function backup -d "backs up a file and appends to its name the date and time of backup"
|
||||
cp $argv[1] $argv[1].bak.(date +"%Y%m%d%H%M%S")
|
||||
end
|
Loading…
Reference in New Issue