User Tools

Site Tools


linux:tar

This is an old revision of the document!


tar -flags dest_file_name source_file_or_dir

exampleExplanation / Remarks
tar -czvf /home/user/dest_backup_file.tgz /var/www/source_dir/ compress all files in source directory into the specified dest file
FlagExplanation / Remarks
ccreate a new archive file
zuse gzip compress or uncompress
vverbose output - show details while running
fnext parameter is the filename
xextract compressed file
linux/tar.1654333353.txt.gz · Last modified: 2022/06/04 09:02 by levor