tar
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
tar [2022/07/19 20:13] – external edit 127.0.0.1 | tar [2022/07/20 23:01] (current) – Updated formatting admin | ||
---|---|---|---|
Line 3: | Line 3: | ||
=====TAR - Archive Utility===== | =====TAR - Archive Utility===== | ||
Tar up specific files or folders: | Tar up specific files or folders: | ||
+ | < | ||
tar -cvf < | tar -cvf < | ||
+ | </ | ||
Tar up all files and folders (full stop implies all): | Tar up all files and folders (full stop implies all): | ||
+ | < | ||
tar -cvf < | tar -cvf < | ||
+ | </ | ||
Once tar'ed up - gzip them: | Once tar'ed up - gzip them: | ||
+ | < | ||
gzip < | gzip < | ||
+ | </ | ||
UnTar Files and Folders (be very careful - you dont know where files will untar to!!): | UnTar Files and Folders (be very careful - you dont know where files will untar to!!): | ||
+ | < | ||
tar -xvf file.tar | tar -xvf file.tar | ||
+ | </ | ||
List files in a TAR (only works with uncompressed tar's) | List files in a TAR (only works with uncompressed tar's) | ||
+ | < | ||
tar -tf file.tar | tar -tf file.tar | ||
+ | </ | ||
Uncompress a SINGLE file | Uncompress a SINGLE file | ||
+ | < | ||
tar -x exact/ | tar -x exact/ | ||
tar -x exact/ | tar -x exact/ | ||
- | + | </ | |
---- | ---- | ||
Further Information at: http:// | Further Information at: http:// |
tar.1658261600.txt.gz · Last modified: 2022/07/19 20:13 by 127.0.0.1