AW: AW: Sync files not folders non recursively

Fabian Cenedese Cenedese at indel.ch
Wed Mar 4 15:44:34 GMT 2009


At 15:35 04.03.2009 +0100, Ehlers, Kolja wrote:
>Thanks for helping but using:
>
>/usr/bin/rsync -dnolptgvze --delete --delete-excluded --include='*.htm' --in
>clude='*.html' --exclude='*.*' /SOURCE /DESTINATION
>
>is not syncing anything

Why do you use -d? You want to sync files not directories.

 -d, --dirs                  transfer directories without recursing

If this is not the problem then the exclude might be too aggressive.
But I'm no expert on filter rules. (I guess the -e is an oversight). 

bye  Fabi



More information about the rsync mailing list