//View Tip #254
Similar Tips
» Deleting whole words on a bash command line
» Changing file extensions
» Change prompt color dynamically
» Find occurrences of a string in a large code base without firing
» Counts files in the current directory and subdirectory


Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
Make a backup of existing files, afterwards copy new files from somedir:

1. Go to proddir
ls /update-200805/ |xargs -n1 -I xxx cp xxx xxx.`date +%Y%m%d` ; cp /update-200805/* . 

View Comments »


Add your comment

Comments are currently disabled
No Comments

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit