Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I need to store files in archives, but not compress them.

The archive manager that comes with Ubuntu 10.04 takes too long, and doesn't have the option to only store (not compress) files.

Any suggestions?

share|improve this question
    
I'm talking about storing in an archive file (without compression). Such option exists in some archive/compression software. –  wajed Jun 12 '12 at 12:11

4 Answers 4

up vote 4 down vote accepted

The fastest and easiest method to create an uncompressed tar archive is a Nautilus context menu installed by default.

After selection of a directory or files press the right mouse button to select "Compress..." from the context menu. In the following window choose .tar from the dropdown list, give a sensible name and a storage location for the archive, then press Create.

enter image description here

share|improve this answer

Use the Tar uncompressed (.tar) format in Archive Manager

The screenshots below explain it:

  • In 10.04:

    enter image description here

  • In 12.04:

    enter image description here

share|improve this answer
    
Just realised this myself, saves answering it- thanks. –  Elfy Jun 12 '12 at 12:18

The .tar format, which Archive Manager supports, will do this for you.

The .tar format by itself will store multiple files in a container, without any compression.

Most decent archiving software, even for Windows and Mac, will understand .tar files.

share|improve this answer

You can use 7zip utility.

Warning: 7-zip does NOT preserve Unix file permissions!

Once installed,

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the commands below.

7z a -t7z /home/user/home/pictures/pics.7z /home/user/home/pictures -mx0

The example above: Lets assume that you want to add all the files in the pictures folder, into an archive named pics, with no compression (store Only) and you want the file to be stored in the same folder.

Where is the folder or file you want to archive? /home/user/home/pictures

In which folder, do you want the output file(s) to be placed? /home/user/home/pictures

What would you like to name the output file(s)? pics

What level of compression do you want? No Compression

share|improve this answer
3  
This definitely works, but what's the advantage over tar if you're not using compression, especially since you lose your file permissions? –  Brendan Long Jun 12 '12 at 15:25
    
It's just a way to store files into an archive without compression. –  Mitch Jun 12 '12 at 19:25
    
Why the down-vote? :) –  Mitch Jun 14 '12 at 5:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.