User Tools

Site Tools


linux:tar

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:tar [2022/06/06 06:10] levorlinux:tar [2024/03/23 16:59] (current) levor
Line 3: Line 3:
  
 ^Example^Explanation / Remarks^ ^Example^Explanation / Remarks^
-|tar -czvf /home/user/dest_backup.tgz /var/www/source_dir/*.html| **compress** all files in source directory into the specified dest file|+|tar -czvf /home/user/dest_backup.tgz /var/www/source_dir/*.html| **c**=create **z**=use gzip **v**=verbose **f**=next param is target file. **Compress** all files in source directory into the specified dest file|
 |tar -xzvf /home/user/backup_file.tgz /var/www/dest_dir/*.html| **extract** files in source file into the specified dest directory(??)| |tar -xzvf /home/user/backup_file.tgz /var/www/dest_dir/*.html| **extract** files in source file into the specified dest directory(??)|
 |**Using find:**|| |**Using find:**||
linux/tar.1654495805.txt.gz · Last modified: 2022/06/06 06:10 by levor