How can I store files in an archive without compressing them?

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

The archive manager takes too long, and I can't find an option to only store (not compress) files.

Any suggestions?


Solution 1:

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

In 14.04:

enter image description here

Solution 2:

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

Solution 3:

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.

Solution 4:

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