Issue
How can we GZip every file separately?
I don't want to have all of the files in a big tar.
id='dv4'>
Solution
You can use gzip *
Note:
- This will zip each file individually and DELETE the original.
- Use
-k
(--keep
) option to keep the original files. - This may not work if you have a huge number of files due to limits of the shell
- To run gzip in parallel see @MarkSetchell's answer below.
Answered By - Courtney Faulkner Answer Checked By - Pedro (WPSolving Volunteer)