#349: pyc files when syncing ----------------------------+----------------------------------------------- Reporter: barry.wardell | Owner: mthomas Type: defect | Status: new Priority: major | Milestone: Component: SimFactory | Version: Resolution: | Keywords: ----------------------------+-----------------------------------------------
Comment (by hinder):
rsync has extensive options for excluding files, and can be controlled by a set of "filter rules":
exclude, - specifies an exclude pattern. include, + specifies an include pattern. merge, . specifies a merge-file to read for more rules. dir-merge, : specifies a per-directory merge-file. hide, H specifies a pattern for hiding files from the transfer. show, S files that match the pattern are not hidden. protect, P specifies a pattern for protecting files from deletion. risk, R files that match the pattern are not protected. clear, ! clears the current include/exclude list (takes no arg)
See http://www.samba.org/ftp/rsync/rsync.html
Perhaps the "hide" rule will hide the files when rsync tried to delete the directory, and avoid the warning?