Results 1 to 2 of 2
-
10th Nov 2010, 01:44 AM #1OPBanned
create multiple copies of a file
Hello, how can I create multiple copies of a file on linux via shell command? E.g., I have a file called file.zip and I want to create 100 copies of it with names file_1.zip, file_2.zip, file_3.zip etc.
techdaemon Reviewed by techdaemon on . create multiple copies of a file Hello, how can I create multiple copies of a file on linux via shell command? E.g., I have a file called file.zip and I want to create 100 copies of it with names file_1.zip, file_2.zip, file_3.zip etc. Rating: 5
-
10th Nov 2010, 02:17 AM #2OPBanned
i've found the way how to do it.
Code:for F in {1..100}; do cp file.zip file_$F.zip; done
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
multiple file host
By shanshayan in forum Webmaster DiscussionReplies: 0Last Post: 21st Jan 2012, 10:38 AM -
How to add one file to multiple archives
By outbreak in forum Technical Help Desk SupportReplies: 3Last Post: 27th Apr 2011, 06:49 PM -
filesonic deleting all copies of a file from my account
By techdaemon in forum File Host DiscussionReplies: 18Last Post: 11th Apr 2011, 01:56 AM -
How to create multiple sitemap??
By janu123 in forum Webmaster DiscussionReplies: 1Last Post: 11th Oct 2010, 02:32 PM -
MSN Polygamy - Run multiple copies of MSN Messenger simultaneously
By coldabhishek in forum Tutorials and GuidesReplies: 14Last Post: 5th Apr 2010, 01:48 AM
themaManager - edit and manage...
Version 4.04 released. Open older version (or...