2
votes
1answer
57 views

Compressing many folders

I have a directory containing plenty of folders as well as compressed files. I need to compress the folders that are not already so (tar -cvzf ...) but have no experience in sh scripts. Can anyone ...
3
votes
1answer
240 views

How do I set ubuntu to compress a series of folders , deleting the original after its been compressed?

I need to setup some kind of script to go through a set of folders, compressing each one, and only leaving the compressed copy of each. How can I do that?
7
votes
2answers
26k views

Compress in .tgz

I want to compress files in .tgz. I know how to make tar.gz(with tar and gzip) and some people say it is almost the same, but I need to make a .tgz, how??