# Function to copy files and directories (a.txt copy to a.txt.20140608_195859.bak) # (c) Roman Inflianskas (rominf) , 2014 function cpbak __bak cpbak 'cp -a' $argv end