rysnc is a very powerful alternative to cp. It provides basic things like you want here, progress meters, copying to remote sites, a diff algorithm to efficiently maintain mirrors, compression, etc.
I think you want something like this:
Code:
rsync -r --exclude=.svn /home/user/progname/ /home/user/progname.copy
沒有留言:
張貼留言