How do I compress a directory in Unix?
Answer
How to compress a whole directory (including subdirectories) using TAR in Unix based OS with the CLI
Answer
How to compress a whole directory (including subdirectories) using TAR in Unix based OS with the CLI
- -z : Compress the desired file/directory using gzip.
- -c : Stand for create file (output tar. gz file)
- -v : To display the progress while creating the file.
- -f : Finally the path of the desire file/directory to compress.