compress_and_extract_entire_directory_tree_with_tar
Compress and Extract Entire Directory Tree With Tar
(This assumes you are using tar in Linux or Cygwin.)
First, open a terminal/bash session.
Change to the root directory you want to compress, then issue this command:
tar -cvzf archive_name.tgz *
To extract the archive file, copy it to an empty directory, then issue this command:
tar -xvf archive_name.tgz
compress_and_extract_entire_directory_tree_with_tar.txt · Last modified: 2024/08/11 18:06 by jimc