2015-09-28

How to uncompress tar.gz with one command

Problem:
I have a file called "thefiles.tar.gz" and I want to uncompress and unarchive in one Unix command.

Solution:
Use the command

tar xzpvf thefiles.tar.gz


Problem:
I have a directory called "thefiles" and I want to compress and archive it into a file called "thefiles.tar.gz" in one command.

Solution:
Use the command

tar czpvf thefiles.tar.gz thefiles

1 comment:

  1. What truly impresses me most about goddoujin com is the extraordinary combination of diverse creative content and exceptionally polished and visually beautiful presentation quality throughout every section. Whether exploring different creative styles or discovering new artistic voices, every visit delivers tremendous real value. This website is clearly setting a wonderful and inspiring new standard for creative content platforms today.

    ReplyDelete