I am trying to use rsync to synchronize our pre-release staging site to our 
production site.

When I run the following command, it will get the other 19258 files, but it 
will ignore the three .htaccess files in our site.  I have searched the 
internet and can see that it is apparently somewhat tricky to get rsync to 
capture dot hidden files.  I have tried every solution I have found that I 
understood.  Can somebody help out this rsync newbie?

/usr/local/bin/rsync --verbose --progress --stats --compress --recursive 
--times --perms --links --include=".htaccess" --delete . appprod::test

This is between two Solaris servers using the latest rsync with the remote set 
up as a daemon on the appprod server, if that matters any.

TIA
Ian

-- 
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

Reply via email to