Return to Snippet

Revision: 80617
at March 23, 2020 05:36 by chrisaiv

Updated URL

Updated Code

Updated Description

Revision: 7090
at January 9, 2009 17:26 by chrisaiv

Updated Code
tar -pvczf BackUpDirectory.tar.gz /path/to/directory

//Back up a directory but exclude .hidden files
tar --exclude=".*" -pvczf BackUpDirectory.tar.gz /path/to/directory

Revision: 7089
at July 5, 2008 18:45 by chrisaiv

Initial Code
tar -pvczf BackUpDirectory.tar.gz /path/to/directory

Initial URL

Initial Description
This command will allow you to make a tar ball with gzip compression:
-c = Create
-v = Verbosely list files processed
-z = Filter the archive through gzip
-p = Preserve Permissions ( extract all protection information)
-f  = Use archive file or device F

Initial Title
Create a .tar.gz archive using Terminal OS X

Initial Tags

Initial Language