Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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)
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.
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
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.
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.