//View Tip #254
Similar Tips
» .. revisited
» Find occurrences of a string in a large code base without firing
» Change extension on a group of files using only bash builtins an
» Counts files in the current directory and subdirectory
» Bash efficiency formula ;-)

 

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 »




Comments 

Add your comment

Comments are currently disabled
No Comments

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit