Using tar to compress folders in Unix
To compress:
tar -cf
pictures.tar pics/; gzip pictures.tar
Or if you want to combine the gzip and the tar creation in one command:
tar -czf
pictures.tar.gz pics/
To decompress:
gunzip
pictures.tar.gz; tar -xvf pictures.tar
Comments
Post a Comment