Trying to use rsync to make sure that _dest_ is a regular file with the same content as file _source_.
If _dest_ already exists and is a symlink, FIFO or device file, rsync deletes it and creates a regular file in its place. Good. If _dest_ already exists and is a directory, rsync creates _dest_/$(basename _source_). Not what I want. Is there an option similar to GNU install -T or GNU cp -T which guarantees that if _dest_ exists and is a directory, rsync will either remove it or fail, but NOT use it as a path ? Thanks in advance. -- André Majorel http://www.teaser.fr/~amajorel/ -- 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