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 11:12:21 +00:00
function uncpbak --description 'Copy files to revert a backup copies to a normal files'
__unbak uncpbak 'cp -a' $argv
end