LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-26-2007, 09:39 AM   #1
sudarshan22
LQ Newbie
 
Registered: Feb 2006
Distribution: Kubuntu 7.10 Gutsy Gibbon
Posts: 13

Rep: Reputation: 0
Help with 7zip


Hi,
I have a huge folder of size 26.5GB. I would like to compress it using the highest compression possible and take a backup somewhere. The folder has only avi files in it. I used bz2 and created a tar archive using the command: tar -cvjf foo.tar.gz foo
However, after it ran all night, I checked the size of the tar arhive and it was around 26.2GB. Not as much compression as I expected. I did some digging and found out that 7zip is capable of higher compression than bz2. So I installed p7zip and tried to find a command to use it with tar. But I came up empty. So could someone please give me the command to use tar with 7zip with the highest compression possible?

Oh another thing, based on my system stats (you can find it in my signature) do you think I would run into some trouble if I use the highest compression in terms of memory requirement?

Thanks.
 
Old 12-26-2007, 11:13 AM   #2
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 40
I don't really see the point why you want to compress avi with 7zip.

Video files are usually compressed by various video and audio codecs. So you won't gain much further compression.

Also the compression compared to the invested system resources doesn't stand in a good ratio.

I would recommend to store the data uncompressed. A difference of a few 100 MB compared to gigabytes of data does not make any sense if you don't want ot store the data on dvd or cd media where size really matters.
 
Old 12-26-2007, 11:29 AM   #3
sudarshan22
LQ Newbie
 
Registered: Feb 2006
Distribution: Kubuntu 7.10 Gutsy Gibbon
Posts: 13

Original Poster
Rep: Reputation: 0
Hey,
Thanks. I didnt really think of it that way. I suppose its best to burn them on DVD. The thing is, when Kubuntu Hardy Heron comes out, I would like to do a clean install including formatting my /home. So I need to backup all the stuff now.

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
7zip hanging on rhel as 2.1 memory issue??? Hotchips Linux - Software 3 05-28-2007 09:54 PM
What is 7zip iso browser Linux - Newbie 5 04-07-2006 05:39 PM
7zip in linux ? sunpascal Linux - Newbie 9 02-07-2006 04:25 AM
embbeding 7zip in konqueror patolfo Linux - Software 2 01-15-2006 12:55 PM
7zip, extracting to alternate directories. trey85stang Linux - Software 2 07-23-2005 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration