Archiving With GNU tar

Revision as of 10:44, 20 February 2018 by Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Back up directory with full path

tar -p -zcvf /world2018021802.tgz /usr/local/minecraft/world

Restore with path relative from the current directory

tar xvzf world2018021802.tgz
tar -P xvzf
Last modified on 20 February 2018, at 10:44