exclude hidden files
emailist at ukgb.net
Fri Aug 19 04:47:19 MDT 2011
I want to exclude from the sync ALL files that start with a dot, IOW hidden files. But using --exclude '.*' does funny things with directories (or at least I think it does). Is there a recognised correct way to do this?
I thought --exclude '.???*' would avoid the directory issue by only excluding any dot file(dir) with a name longer than 2 characters. Not tried it yet, but would this be a good solution?
Ken G i l l e t t
More information about the rsync