Create Archive:
tar -cvf tmp.tar tmp
star -c -f=tmp.star tmp
Create Archive, and with compression:
tar -cvf - tmp | gzip > tmp.tar.gz
star -c tmp | bzip2 > tmp.star.bz2
List Archive:
star -t -f=tmp.star
tar -tvf tmp.tar
List Archive, and with compression:
gzip -cd tmp.star.gz | star -t
bzip2 -cd tmp.tar.bz2 | tar -tvf -
Extract Archive:
tar -xvf tmp.tar
star -x -f=tmp.star
Extract Archive, and with compression:
gzip -cd tmp.tar.gz | tar -xvf -
bzip2 -cd tmp.star.bz2 | star -x
No comments:
Post a Comment