oh-my-fish/plugins/bak/cpbak.fish

7 lines
241 B
Fish
Raw Normal View History

# Function to copy files and directories (a.txt copy to a.txt.20140608_195859.bak)
# (c) Roman Inflianskas (rominf) <infroma@gmail.com>, 2014
2014-08-30 11:12:21 +00:00
function cpbak --description 'Copy files to make a backup copies'
__bak cpbak 'cp -a' $argv
end