Results 1 to 4 of 4

Thread: Will a type of compression do what I'm asking?

  1. #1
    Join Date
    Dec 2010
    Beans
    59

    Will a type of compression do what I'm asking?

    I'm using box.com with an account that is limited to 100 MB files on the cloud.

    I have the box.com drive mounted in my Ubuntu OS.

    I compressed my files into a RAR archive split into 100 MB files. I uploaded them and that worked fine. However, when I try to query the archive to get its file list, I watch the resource monitor and it downloads the equivalent size of the entire collective archive before it will display the file list.

    What I'd like to be able to do is query the archive for its file list with as little bandwidth as possible, and hopefully download individual files from the archive without necessitating the download of the entire collective archive, only downloading about the exact amount of data that I'm trying to extract from the archive.

    Is this possible??

    Also, this is far less important, but it would be nice to be able to add files to that archive and have it automatically end and begin another part of the archive when each part reaches 100 MB in-place in the mounted web drive. This way I can upload (potentially large) files into the existing archive, and have all my files in a single archive directory.

    (I know this doesn't have to do with Ubuntu One, but cloud storage is cloud storage, right?)

  2. #2
    Join Date
    Oct 2008
    Location
    Ottawa, Canada
    Beans
    806
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Will a type of compression do what I'm asking?

    AFAIK to query a RAR file list you have to read through the entire archive or archive set. Even worse, to uncompress a single file you have to uncompress the lot. This is because all files are fused into one big 'blob' that then gets compressed as a single entity, leading to better compression ratio at the expense of practicality.
    RAR is best used for single 'Extract all' operations. Adding and extracting single files can be a pain, especially over a slow cloud connection.
    Zip might work better, the file list is typically located in the last file split, which ends with .zip

    Cheers!
    Last edited by LewisTM; March 27th, 2012 at 03:02 PM.
    husband@wife$ make sandwich
    Permission denied
    husband@wife$ sudo make sandwich

  3. #3
    Join Date
    Dec 2010
    Beans
    59

    Re: Will a type of compression do what I'm asking?

    Thanks for the info on zip files!

    However, the Archive manager in Ubuntu cannot split zip files into multiple parts. Is there a way to do this, or another kind of compression that will behave in this manner?

  4. #4
    Join Date
    Oct 2008
    Location
    Ottawa, Canada
    Beans
    806
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Will a type of compression do what I'm asking?

    Peazip will do the job for you.
    Ubuntu's archive manager (file-roller) can read and extract those archive sets.
    husband@wife$ make sandwich
    Permission denied
    husband@wife$ sudo make sandwich

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
  •