Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

terminal archive files

tar -czvf name-of-archive.tar.gz /path/to/directory-or-file

# -c: Create an archive.
# -z: Compress the archive with gzip.
# -v: Display progress in the terminal while creating the archive, also known as “verbose” mode. The v is always optional in these commands, but it’s helpful.
# -f: Allows you to specify the filename of the archive.
Source by www.howtogeek.com #
 
PREVIOUS NEXT
Tagged: #terminal #archive #files
ADD COMMENT
Topic
Name
3+3 =