Archiving With GNU tar

From Free Knowledge Base- The DUCK Project
Revision as of 09:44, 20 February 2018 by Admin (talk | contribs) (Created page with " 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 world2018021...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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