Archiving With GNU tar

From Free Knowledge Base- The DUCK Project: information for everyone
Revision as of 11:44, 20 February 2018 by Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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