Aktionen
Howto tar » Historie » Revision 1
Revision 1/2
| Weiter »
Jeremias Keihsler, 03.04.2020 08:57
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 mehr als 4 Jahren aktualisiert · 1 Revisionen