LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 02: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 04:37 PM. Reason: spell / grammer check
 
Old 11-27-2009, 03:09 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
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 03:12 PM.
 
1 members found this post helpful.
Old 11-27-2009, 04: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 06:29 PM
LXer: PeaZip: Robust But Easy OSS File Management, Compression and Archiving LXer Syndicated Linux News 0 11-14-2008 12:40 AM
LXer: Archiving and Compression LXer Syndicated Linux News 0 10-24-2006 05:54 PM
Archiving naveenlinux SUSE / openSUSE 6 12-04-2005 05:51 PM
Archiving theneoprotocol General 5 01-26-2002 04:24 PM

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

All times are GMT -5. The time now is 04:17 AM.

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