Compress multiple directories (folders) with gzip
gzip
only compresses a file into an archive, not a collection of file or directories. So you need to use the utility tar
to store multiple files or directories into one file before compressing them. To do so, run:
$ tar -vcf folder.tar folder1 folder2 file1
$ gzip folder.tar
✍✍✍✍✍✍✍✍✍✍✍✍✍✍
I do self-funded research and I'm writing a book.
> What's the book about?
About technologies and epistemology.
Meaning, technologies can foster agency. No doubt. But I am also asking:
Can technologies make us blind?
I posted a summary of the prologue on the homepage: https://yctct.com/
✍✍✍✍✍✍✍✍✍✍✍✍✍✍
personal computing command-line interface (cli) gnu linux trisquel shell literacy office applications wiki tar