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

7 lines
267 B
Fish
Raw Normal View History

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