tar without tarring hidden version control files

September 6, 2013 — Leave a comment

… just came across a nice option of tar while reading the man pages on how to exlude hidden files from being tared. there is another option “–exclude-vcs”:

tar --exclude-vcs -cvf something.tar somethingtotar

good to know.

this at least works with subversion. did not try any other vcs. btw, my version of tar is:

tar --version
tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
Advertisements

No Comments

Be the first to start the conversation!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s