tar - an archiving utility
tar [-C folder] -[zv]cf ARCHIVE [FILE...]
tar [-C folder] -[zv]xf ARCHIVE
tar [-C folder] -[zv]tf ARCHIVE
-C folder
change subfolder
-z
use zLib compression
-c
compress
-t
list
-v
verbose
-x
extract
tar/split with compression:
tar -zcf - content | split -b 1024m - cloudbackup.tar.gz.
join/untar with decompression:
cat cloudbackup.tar.gz.* | tar -zvxf -
encrypt and archive content:
tar -zcf - content | openssl enc -e -aes256 -out securebackup.tar.gz
decrypt and restore content:
openssl enc -d -aes256 -in securebackup.tar.gz | tar -zxf -