Aktionen
tar¶
tar is installed by default
basic tar usage¶
the most *nix-style way of getting help for tar
is man tar
for doing some basic storing/unpacking the following sequences should be enough.
to tar
tar -cvzf tarfilename foldername
to untar
tar -xvzf tarfilename
the example will tar the folder abc
to the archive abc.tar.gz
:
tar -cvzf abc.tar.gz abc
for doing the same while preserving permissions
to tar
tar -pcvzf tarfilename foldername
to untar
tar -pxvzf tarfilename
the example will tar the folder abc
to the archive abc.tar.gz
:
tar -pcvzf abc.tar.gz abc
Von Jeremias Keihsler vor fast 8 Jahren aktualisiert · 1 Revisionen