Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: How to create multi RAR archives in Ubuntu?

  1. #1
    Join Date
    Nov 2007
    Beans
    102

    How to create multi RAR archives in Ubuntu?

    I have a 20GB folder that i would like to compress into RAR format across five 4GB files. I have installed RAR in Ubuntu by sudo apt-get install rar but now i'm lost.

  2. #2
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 17.10 Artful Aardvark

    Re: How to create multi RAR archives in Ubuntu?

    You can use Archive Manager to create RAR files; I think it's under the menu Applications, Accessories. Or type "file-roller" in a terminal to start the program.

  3. #3
    Join Date
    Nov 2007
    Beans
    102

    Re: How to create multi RAR archives in Ubuntu?

    Thanks. Is there a way of splitting the archives into 4GB pieces? i can't seem to find any options in Archive manager to do this.

  4. #4
    Join Date
    Apr 2006
    Location
    Ubuntuland
    Beans
    2,124
    Distro
    Ubuntu 13.10 Saucy Salamander

    Lightbulb Re: How to create multi RAR archives in Ubuntu?

    Quote Originally Posted by K.Morgan View Post
    Thanks. Is there a way of splitting the archives into 4GB pieces? i can't seem to find any options in Archive manager to do this.
    info split

    the split utility is very handy.
    24 beers in a case, 24 hours in a day. Coincidence? I think not!

    Trusty Tahr 64 bit, AMD Phenom II 955 Quad Core 3.2GHz, GeForce 9600 GT
    16G PC2-6400 RAM, 128 GB SSD, Twin 1TB SATA 7200 RPM RAID0

  5. #5
    Join Date
    Nov 2007
    Beans
    102

    Re: How to create multi RAR archives in Ubuntu?

    'Info split' doesn't make any sense to me, do i use this instead of Archive manager?

  6. #6
    Join Date
    Oct 2007
    Location
    Cincinnati, Ohio
    Beans
    Hidden!
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: How to create multi RAR archives in Ubuntu?

    Don't know if your into WinRar but I got it working easily through wine, which I only use when creating multi-part archives. It shouldn't be to difficult to get going in that manner.

    OS: Kubuntu 12.04 LTS|| CPU: AMD Athlon 64x2 || RAM: 3GB DDR2(PC-6400) || Display: NVIDIA GeForce 9400 GT 1024mb

  7. #7
    Join Date
    May 2008
    Beans
    213
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to create multi RAR archives in Ubuntu?

    http://www.computerhope.com/unix/usplit.htm

    there's an example at the bottom on how to use split.

  8. #8
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 17.10 Artful Aardvark

    Re: How to create multi RAR archives in Ubuntu?

    Quote Originally Posted by K.Morgan View Post
    'Info split' doesn't make any sense to me, do i use this instead of Archive manager?
    "info split" is a command you would enter into the terminal. It just gives you info about the split command. You'd use "split" on an already created RAR archive.

  9. #9
    Join Date
    Nov 2007
    Beans
    102

    Re: How to create multi RAR archives in Ubuntu?

    Ah right, so i create the RAR archive first as one big file, and then use split to split the large RAR file into smaller sizes.

  10. #10
    Join Date
    Apr 2006
    Location
    Green Bay, WI, USA
    Beans
    399
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: How to create multi RAR archives in Ubuntu?

    To do exactly what you asked, using only rar:

    I don't know how to do it with any GUI, but from the command line it's easy.
    Open a terminal and use this command:

    Code:
    rar a -r -m3 -v5g archivename path/to/folder/that/you/want/to/split
    Explanation:

    a = add files to archive

    r = recursive, you need this if the folder you want to split has subfolders.

    m3 = medium compression, use 0 for no compression, 5 for best compression. Adjust as desired.

    v = multivolume (split)

    5g = 5 GB per volume. Adjust number as desired. Use m for MB for smaller jobs.

    archivename = the name you want the archive to be called. If you don't specify a path here, the archive will be placed in whatever directory the terminal is in (probably your /home)

    path/to/folder/that/you/want/to/split = self explanatory

    All this is explained in the rar man page. Rar can do tons of stuff from the command line. In a terminal:
    Code:
    man rar
    A computer without Microsoft is like a chocolate cake without mustard.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •