Text Size
Wednesday, April 25, 2018


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 }

Copyright © 2018 by Mike Zriel - Zriel.com