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

Results 1 to 7 of 7

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Member
    ^ He just said it:

    rar a -v100m archivename filename.ext
    Hillside Reviewed by Hillside on . Linux RAR How to split multiple files with rar in a centos 32 bit server? For a single file it would be - rar a -v100m archivename filename.ext But what if I needed multiple files to be split? p.s. rapidleech won't help in a 32bit server. Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    I guess he needs to archive multiple files in different archives, splitted.

    If thats the case, then you need a FOR loop to run the same command on multiple files. Lets say you have all the files in a directory, the FOR loop would look like this

    Code: 
    for f in $(ls /path/to/your/files)
     do
       rarname=${f%.*}
       rar a -v100m rarname f
      done
    This way, your archives will also have the same name as the file you are raring.

  4.     
    #3
    Member
    Website's:
    TvBlog.ws TeenBabe.in SexyBitch.in BabeLips.in CuteBabe.in Sweetie.co.in
    Quote Originally Posted by Hillsid3 View Post
    ^ He just said it:

    Well that was what I said myself...

    But I need to do it for multiple files together. Assume I have a movie in a folder(directory) containing-

    movie.avi(size 700mb) + subtitle(size 100kb) + nfo(size 150kb)

    How to split them in 100mb parts?

    EDIT: To clear it more, I can do it by moving them inside a folder & rar the folder itself. But that's not what I want.

  5.     
    #4
    Member
    rar a -v100m archivename file1 file2 file3

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Linux Foundation: Linux professionals have better paychecks
    By ShareShiz in forum News & Current Events
    Replies: 0
    Last Post: 18th Feb 2012, 12:10 AM
  2. MTN on Linux x32
    By CuraHack in forum Technical Help Desk Support
    Replies: 3
    Last Post: 16th Mar 2011, 03:26 AM
  3. [VPS] $5 Linux VPS | Get two Months FREE | $5 Linux VPS
    By JMimic in forum Archive
    Replies: 9
    Last Post: 25th Dec 2010, 10:40 AM
  4. [Hiring] VPS linux for RDP
    By freecbc3 in forum Completed Transactions
    Replies: 1
    Last Post: 13th Oct 2010, 03:50 PM
  5. need to buy linux vps
    By SNT in forum Hosting Discussion
    Replies: 4
    Last Post: 4th Jun 2010, 08:21 PM

Tags for this Thread

BE SOCIAL