LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-27-2009, 01:45 PM   #1
roger_heslop
Member
 
Registered: Oct 2009
Location: Leander, TX
Distribution: Fedora 20
Posts: 97

Rep: Reputation: 35
compression and archiving


I was hoping to compress large files to archive onto DVD, but the compression seems to be either not working or somewhat insignificant. I'm running the command:

roger@mer /media/LACIE/Media/Pictures $ tar -czvf my_pictures.tgz Mine/

Both the original folder, and the resulting file are being reported as 1.7 GB

I've tried using the 'Create Archive' GUI (I'm using Linux Mint by the way...), and the resulting file has a tar.gz extension, and appears to be the same size. (Again, 1.7 GB)

Is tar / gzip not working, or has insignificant affects? Is there a better program, or is the displayed properties giving the uncompressed size of the file? Any information would be greatly appreciated.

Thanks.

Last edited by roger_heslop; 11-27-2009 at 03:37 PM. Reason: spell / grammer check
 
Old 11-27-2009, 02:09 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960
If the files you're archiving are images or videos, as your path seems to imply, then you probably aren't going to see much compression. In most cases multimedia formats are already compressed. In some cases you can even see a negative effect since the compression itself adds some overhead. Compression works best on text-based files.

Edit: Check out the wikipedia page on data compression.
http://en.wikipedia.org/wiki/Data_compression

Last edited by David the H.; 11-27-2009 at 02:12 PM.
 
1 members found this post helpful.
Old 11-27-2009, 03:38 PM   #3
roger_heslop
Member
 
Registered: Oct 2009
Location: Leander, TX
Distribution: Fedora 20
Posts: 97

Original Poster
Rep: Reputation: 35
That explains enough, not quite what I was hoping for, but informative nonetheless.

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
Slax with SquashFS-4 new compression algorithm and layered compression ratios? lincaptainhenryjbrown Linux - Software 2 06-19-2009 05:29 PM
LXer: PeaZip: Robust But Easy OSS File Management, Compression and Archiving LXer Syndicated Linux News 0 11-13-2008 11:40 PM
LXer: Archiving and Compression LXer Syndicated Linux News 0 10-24-2006 04:54 PM
Archiving naveenlinux SUSE / openSUSE 6 12-04-2005 04:51 PM
Archiving theneoprotocol General 5 01-26-2002 03:24 PM

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

All times are GMT -5. The time now is 10:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration