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 02-18-2014, 04:10 AM   #1
funkypunkypinkypow
LQ Newbie
 
Registered: Nov 2013
Posts: 10

Rep: Reputation: Disabled
best compression tool and how to use it?


Hello,
Please, what is the best compressor on Linux? because I have some PDF files I want to highly compress to upload to internet, and how to use the tool you're suggesting to me? and is LZMA really good? or gzip? or anyother compression tool on Debian Linux
THank you in Advance
 
Old 02-18-2014, 04:13 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,166

Rep: Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751
Depending on your target audience you may want to make use of zip/unzip which will create more widely compatible .zip files.

Depending on the content of your PDF they may not compress well.
 
Old 02-18-2014, 04:18 AM   #3
funkypunkypinkypow
LQ Newbie
 
Registered: Nov 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TenTenths View Post
Depending on your target audience you may want to make use of zip/unzip which will create more widely compatible .zip files.

Depending on the content of your PDF they may not compress well.
okay, But I just want to high compress my files to backup on Internet
 
Old 02-18-2014, 04:45 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,166

Rep: Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751
Quote:
Originally Posted by funkypunkypinkypow View Post
okay, But I just want to high compress my files to backup on Internet
Ok, you didn't state that, you simply said "upload to internet" without any further information most people will assume that you're doing this because you want to share the files.


If you're talking about for your own backup then there's also no simple one-utility-fits-all answer. A lot depends on your PDFs.


A quick Google (you did do that first yeah?) gives http://www.techradar.com/news/softwa...-tested-933098


So take the latest versions of those 8, make your own test suite of representative PDF files and see which gives you the best compression.
 
Old 02-18-2014, 05:47 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,383

Rep: Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199
The type of files and sizes also play a part in the "best".

Also many programs have a default value that could be changed. Some of the most drastic compression methods could consume some time and require a lot of swap/ram and processing power.

If you are backing up to a remote location consider also ideas like rsync which could maintain your backups along the way.
 
Old 02-18-2014, 06:30 PM   #6
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 490Reputation: 490Reputation: 490Reputation: 490Reputation: 490
For PDF files I'd say converting them to djvu would save the most space.

Certainly xz (LZMA2) is (one of) the best generic compression algorithms. However, it does NOT compress pseudorandom data such as audio and video well. That's what codecs are for.
 
  


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
LXer: Pigz: File Compression Tool work Over Multiple Processors and Cores LXer Syndicated Linux News 0 04-21-2012 04:11 PM
Best compression tool? silvyus_06 General 25 03-15-2011 04:11 AM
Compression/archive tool that utilizes mutliple cores? hawk__0 Linux - Software 3 10-02-2009 12:13 AM
Slax with SquashFS-4 new compression algorithm and layered compression ratios? lincaptainhenryjbrown Linux - Software 2 06-19-2009 06:29 PM
default KDE compression tool has some problems with ntfs kaiwan Linux - Software 1 07-13-2008 05:02 AM


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