Here is a small command that can be used to copy a file to several other files. That is, if you have a file called test and you want 5 copies of it names test1,test2,…test5, you would use this command:
1 | for i in {1..5}; do cp test{,$i};done |
I have submitted it to commandlinefu which is proving to be a pretty useful website.
It‘s quite in here! Why not leave a response?