LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-16-2009, 07:27 AM   #1
rehan999
Member
 
Registered: Aug 2007
Posts: 134

Rep: Reputation: 15
Unhappy compress


Greetings

I have a file named testfile of size 50 MB.
I want to compress the file to 10MB ,can you anyone please provide me with the suitable commands.

Regards
Habeeb.
 
Old 06-16-2009, 07:51 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
If this is some arbitrary combination of text, code, etc. I doubt if there is a way to reduce it to a specific size. Compression utilities such as ZIP, BZIP, etc. are called "information-preserving"---i.e. they ensure that nothing is lost. To guarantee that nothing is lost, you cannot also dictate the file size.

By contrast, you can manipulate images to arbitrary file sizes---but with varying degrees of quality loss.

If you can give some more context for you question, there may be some other ideas.....
 
  


Reply



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
How do I compress Amigo? s_deepak_123 Amigo 1 02-03-2005 12:34 AM
Compress Gins Linux - General 5 11-19-2004 01:05 PM
compress fs alaios Linux - General 5 09-07-2004 08:29 PM
compress Ownasaurus Linux - Software 4 09-12-2003 07:17 PM
Does CPIO compress? severedhead Linux - Software 1 08-03-2002 07:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:35 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