4 lines
145 B
Fish
4 lines
145 B
Fish
|
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
|