1.to exclude a directory from svn control
svn propset svn:ignore '*' dir_name/
Quick Start: Here we’l present quick start examples explained.
Create linux tar gz (Gzip) archive
tar -czvf myarchive.tgz mydirectory/
We use the -t option to create an linux tar archive
-c, –create createanew archive
Note that .tgz is the same thing as .tar.gz
Create linux simple tar archive (withouth compresion)
tar -cvf myarchive.tar mydirectory/
Extracting linux tar archive:
Extract linux tar gz (Gzip) archive
tar -xzvf mystuff.tgz
Extract linux simple tar archive
tar -xvf mystuff.tar
We use -x to extract the files form the tar archive
-x, –extract, –get extract files from an archive
And now let us shortly explain this command
Usage: tar [OPTION]… [FILE]…
Let us check the option used in this example
-c, –create createanew archive
-z, –gzip, –ungzip filterthearchive through gzip
-v, –verbose verboselylistfiles processed
-f, –file=ARCHIVE usearchivefile or device ARCHIVE
Testing / viewing your archive
tar -tvf myarchive.tar
tar -tzvf myarchive.tgz
Here we used the - t opton
-t, –list list the contents of an archive