-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Assuming that the rsync source is the user's home dir: --exclude='/.*' If you are backing up all of /home and want the same rules for all users then: --exclude='/*/.*'
On 11/14/11 13:57, Fabrizio Pollastri wrote: > Hi all, I am looking for the proper rsync command to backup a whole > user dir recursively, excluding dot file/dir at the first level > (user home) but not in subdirectories. > > TIA, Fabrizio Pollastri - -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ Kevin Korb Phone: (407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. ke...@futurequest.net (work) Orlando, Florida k...@sanitarium.net (personal) Web page: http://www.sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7BZREACgkQVKC1jlbQAQcCfQCgvBMJo7YmMddcHL8LI+Qzl7Qu tEMAnA7qYmFPZK8T+uUmx1e+cBkgzkUN =w/ZY -----END PGP SIGNATURE----- -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html