LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-05-2019, 02:52 PM   #1
DagJNJ
LQ Newbie
 
Registered: Feb 2019
Location: Spain
Distribution: Ubuntu Mate 16.04.5
Posts: 19

Rep: Reputation: Disabled
Ubuntu Mate offers only low compression


Hi,
I want to send some files which are too big for most mailboxes, and have to compress.
The problem with the GUI-compressor in Mate, is the very low compression level, 35MB get only down to 32MB.
And the split function, which could be a solution, doesn't seem to work either.

Thankful for any help.
Regards,
Dag

Last edited by DagJNJ; 12-05-2019 at 02:53 PM.
 
Old 12-05-2019, 05:40 PM   #2
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Your compression rate depends on what you are compressing. If binary file(s), there won't be much compression. Text compresses quite a bit. There are a lot of choices in Mate` as far as archive type, perhaps another type will compress more? I don't know the rates for each type.
 
Old 12-05-2019, 09:21 PM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
The most recent compression utility seems to be xz. I don't know whether it is included in the GUI compressor. Try it on the command line:
Code:
xz -9 --extreme FILE
(It's unclear how options -9 and --extreme interact; it might be better to only use one of them)
Quote:

And the split function, which could be a solution, doesn't seem to work either.
How so?

Last edited by berndbausch; 12-05-2019 at 09:31 PM. Reason: Added remark about "split"
 
Old 12-06-2019, 02:45 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
It depends on the type of file, as was pointed out already.
Especially if the file is in a compressed format already (.JPG, .MP4, .XDOC etc.) you won't get much additional compression - just 1 or 2%.
If it's a plain text format you can get much more.
 
1 members found this post helpful.
Old 12-06-2019, 02:36 PM   #5
DagJNJ
LQ Newbie
 
Registered: Feb 2019
Location: Spain
Distribution: Ubuntu Mate 16.04.5
Posts: 19

Original Poster
Rep: Reputation: Disabled
Thanks to both,
second first, it's a binary file (audio)
The split function in the GUI is greyed out.
The problem is, not I (who is more used to use the terminal) but my wife (which has no idea at all) want to compress audio files she wants to send her students. She has no problem with learning, only a big lack of time to do it.
Does xz compress in a Windows-comptabible format?
Her students all use Windows, we here use Mate 18.04.3
(Anyway, I will look up the options to split a file in the terminal)
 
Old 12-06-2019, 02:40 PM   #6
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Binary files will not compress much at all. Better off choosing another audio format that is in itself compressed (mp3 vice Flac) but that involves loss of audio detail which may or may not be acceptable.

I do not know if Windows can deal with anything other than zip natively : I don't use windows so can't speak to its compression capabilities. I know third party apps such as 7zip and winzip work on windows but those are only "zip" format as far as I know.
 
Old 12-06-2019, 03:47 PM   #7
DagJNJ
LQ Newbie
 
Registered: Feb 2019
Location: Spain
Distribution: Ubuntu Mate 16.04.5
Posts: 19

Original Poster
Rep: Reputation: Disabled
They are already mp3, 35MB each. So most Mailboxes will refuse.
(I know flac is lossless, but mp3 is the format she gets her students material in).
I will try with split in terminal.
Thanks, I see it as solved
 
Old 12-06-2019, 03:55 PM   #8
DagJNJ
LQ Newbie
 
Registered: Feb 2019
Location: Spain
Distribution: Ubuntu Mate 16.04.5
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sevendogsbsd View Post
I do not know if Windows can deal with anything other than zip natively : I don't use windows so can't speak to its compression capabilities. I know third party apps such as 7zip and winzip work on windows but those are only "zip" format as far as I know.
I don't use Windows any more either, but remember something. ZIP works.
 
Old 12-06-2019, 03:57 PM   #9
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
winzip seems to be able to handle xz: https://www.winzip.com/win/en/xz-file.html.

However, MP3 is already compressed. split(1) has an option not to split by lines but bytes, so that it might be able to process binary files, but I wonder how the result can be reassembled in Windows.

I think your solution is to use a file sharing facility instead of email to disseminate the files. Dropbox, Onedrive, Google Drive, there are many free of charge options.

Last edited by berndbausch; 12-06-2019 at 04:01 PM.
 
1 members found this post helpful.
Old 12-09-2019, 12:39 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
I think 7z offers good compression (it definitely does more than "just zip") and is available for Windows.
But apparently so is xz.
You should do some testing for yourself; I don't think you'll get much extra compression for a likely already compressed audio format, but it can't hurt to try a few algos, and always compare to zipping up a directory with text files or some such.

I guess the real question is "why is the split function greyed out".
My next step would be to
  • identify the package that provides the GUI app in question
  • see if it has any "Recommends" or "Suggests", and if one of these might provide the splitting functionality, and if it's installed
But in the end I agree with berndbausch:
You have just found out why people are so wild about cloud storage.
 
1 members found this post helpful.
Old 12-09-2019, 12:48 PM   #11
DagJNJ
LQ Newbie
 
Registered: Feb 2019
Location: Spain
Distribution: Ubuntu Mate 16.04.5
Posts: 19

Original Poster
Rep: Reputation: Disabled
Thank you,
I have installed but did nothing yet with it.
I will try that out, and am sure I will get along alone now.
 
Old 12-09-2019, 06:27 PM   #12
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by sevendogsbsd View Post
I know third party apps such as 7zip and winzip work on windows but those are only "zip" format as far as I know.
7zip has a Linux equivalent too: p7zip
And for instance rar has a Windows (WinRar) and Linux (commandline rar) version.

But almost no compression will do much with .mp3 files, ie:
Code:
..A....  14375317  14348781  99%  2019-12-08 17:52  518E3CED  01 - In the Air Tonight.mp3
..A....   9420405   9401260  99%  2019-12-08 17:52  09729E8F  02 - More Than Words.mp3
(from a recent RAR archive I've downloaded, which was created in Windows).

Last edited by ehartman; 12-09-2019 at 06:28 PM. Reason: changed QUOTE to CODE, to preserve formatting
 
  


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
LXer: Ubuntu MATE Projects Donates Money to Debian, MATE, and Syncthing Developers LXer Syndicated Linux News 0 08-02-2015 04:23 PM
LXer: Ubuntu MATE 15.04 Arrives With MATE Desktop 1.8.2 and MATE Tweak LXer Syndicated Linux News 0 05-15-2015 09:30 AM
LXer: Ubuntu MATE 14.10 PPA Updated, Includes MATE 1.8, User Intervention Required LXer Syndicated Linux News 0 03-20-2015 08:10 AM
Ideas for a low cost, low power, low noise web server/torrent box alecjtaylor Linux - Hardware 13 01-10-2012 05:26 AM
Slax with SquashFS-4 new compression algorithm and layered compression ratios? lincaptainhenryjbrown Linux - Software 2 06-19-2009 05:29 PM

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

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