Search This Blog
Wednesday, October 20, 2010
[GNU/Linux]Copy svn working dir without svn hidden dirs and files?
Email This
BlogThis!
Share to X
Share to Facebook
Share to Pinterest
如果有使用SVN在管控程式碼或文件時,在目錄下都會有.svn的隱藏檔用來記錄相關的資訊,如果要複製目錄時要避免將.svn也複製過去時,可以用下列指令達成
rsync -r --exclude=.svn /home/user/progname/ /home/user/progname.copy
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment