Text Size
Saturday, May 18, 2013
31.10.12

tar files without hidden .svn folders

Create a tar ball without hidden folders including .svn directories, use this command:

  • Step 1, go to the folder your want to create a tar ball, in this example I will use a folder named "zriel", cd zriel
  • tar cvfz  ../zriel.tar.gz --exclude='.*' *
  • This will create a file zriel.tar.gz in the previous directory

The result will be:

zriel/  { directory }
zriel.tar.gz { tar ball }

Add comment


Security code
Refresh

Latest comments

  • It really help me fixing errors in joomla mobile d...
  • Thanks a ton !
  • fh
  • Thanks a lot dude.
  • That is a nice example, but not complete. Where ex...
Copyright © 2013 by Mike Zriel - Zriel.com