Saturday, April 16, 2011

Compressed tarball

At the ESX Service Console, to create a compressed tarball of files and sub-folders, use the following command:
tar -czf tarballname.tar.gz /directory/

To list the files in a compressed .tgz file:
tar -tzf tarballname.tgz

To extract a tarball:
tar -xzvf tarballname.tar.gz
More vQuotes

No comments:

Post a Comment