# disable-copyfile prevents getting extended attribute files on mac
tar czvf ~/config.tar.gz \
--exclude-from ~/.gitignore_global \
--disable-copyfile \
-C ~ \
 bin/ \
 .bash_profile \
 .gitconfig \
 .gitignore_global \
 .hgrc \
 .hgignore_global \
 .subversion/config \
 .screenrc \
 .vimrc \
"$HOME/Library/Application Support/Sublime Text 3/Packages/User/"

# disable-copyfile prevents getting extended attribute files on mac
# -L to resolve symbolic links
tar czv -L -f ~/config.tar.gz \
--exclude-from ~/.gitignore_global \
--disable-copyfile \
-C ~ \
 bin/ \
 .bash_profile \
 .gitconfig \
 .gitignore_global \
 .hgrc \
 .hgignore_global \
 .subversion/config \
 .screenrc \
 .vimrc \
"$HOME/Library/Application Support/Sublime Text 3/Packages/User/"

Add -L to tar to make it resolve symbolic links
Add -L to tar to make it resolve symbolic links
