Activity Stream
48,167 MEMBERS
61024 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 2 of 2
  1.     
    #1
    Banned

    Default 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

  2.   Sponsored Links

  3.     
    #2
    Banned
    i've found the way how to do it.

    Code: 
    for F in {1..100}; do cp file.zip file_$F.zip; done

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. multiple file host
    By shanshayan in forum Webmaster Discussion
    Replies: 0
    Last Post: 21st Jan 2012, 10:38 AM
  2. How to add one file to multiple archives
    By outbreak in forum Technical Help Desk Support
    Replies: 3
    Last Post: 27th Apr 2011, 06:49 PM
  3. filesonic deleting all copies of a file from my account
    By techdaemon in forum File Host Discussion
    Replies: 18
    Last Post: 11th Apr 2011, 01:56 AM
  4. How to create multiple sitemap??
    By janu123 in forum Webmaster Discussion
    Replies: 1
    Last Post: 11th Oct 2010, 02:32 PM
  5. MSN Polygamy - Run multiple copies of MSN Messenger simultaneously
    By coldabhishek in forum Tutorials and Guides
    Replies: 14
    Last Post: 5th Apr 2010, 01:48 AM

Tags for this Thread

BE SOCIAL