Przeglądaj źródła

Exclude emacs temp files from rsync

Ryan C. Thompson 9 lat temu
rodzic
commit
c426a0b8ab
1 zmienionych plików z 2 dodań i 1 usunięć
  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 {