added backup function, fixed permissions on 4chandl
This commit is contained in:
Executable → Regular
@@ -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
|
||||
Reference in New Issue
Block a user