Wednesday, October 20, 2010
[GNU/Linux]Copy svn working dir without svn hidden dirs and files?
如果有使用SVN在管控程式碼或文件時,在目錄下都會有.svn的隱藏檔用來記錄相關的資訊,如果要複製目錄時要避免將.svn也複製過去時,可以用下列指令達成
rsync -r --exclude=.svn /home/user/progname/ /home/user/progname.copy
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment