Copy directory without .svn files


/ Published in: Bash
Save to your folder(s)

Copy a directory (and subdirectories) without .svn files.


Copy this code and paste it in your HTML
  1. rsync -r --exclude=.svn source destination
  2.  
  3. Use -a (archive) instead of -r (recursive) because it means -r and more (see the man page).

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.