Back
Can anyone tell me how to create a larger gzip file for all files in a directory, also I should be able to output the compressed file name and overwrite my old compressed file?
Use the code below:
tar -zcvf compressFileName.tar.gz folderToCompress
This will transfer all the files in folderToCompress to compressFileName.
Interested in Linux? Check out this Linux Certification by Intellipaat.
31k questions
32.8k answers
501 comments
693 users