浏览代码

Exclude emacs temp files from rsync

Ryan C. Thompson 9 年之前
父节点
当前提交
c426a0b8ab
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      dodo.py

+ 2 - 1
dodo.py

@@ -98,7 +98,8 @@ account.
             if include_dirs or s.group(1) == '-':
                 yield s.group(2)
 
-rsync_common_args = ["-rL", "--size-only", "--delete", "--exclude", ".DS_Store", "--delete-excluded",]
+rsync_common_args = ["-rL", "--size-only", "--delete", "--delete-excluded",
+                     "--exclude", ".DS_Store", "--exclude", ".#*" ]
 
 def task_lyx2pdf():
     yield {