Copy With Exclude
The cp command does not provide any exclude functionality. There is a nice way how to achieve it:
Bash
-
(cd "./${SRCIN_DIR}" && tar cpf - –exclude=.svn . ) | (cd "./${DEST_DIR}" && tar xpf - )
The cp command does not provide any exclude functionality. There is a nice way how to achieve it:
No comments yet.
RSS feed for comments on this post. TrackBack URI
commercial break :)
Make an account on slicehost.com -- a really good hosting where you have your own virtual machine. I installed Gentoo there = I like it very much ;)