rsync fails when syncing empty directories

Wayne Davison wayned at samba.org
Tue Sep 28 15:08:40 GMT 2004


On Tue, Sep 28, 2004 at 03:57:06PM +0200, Max Gilead wrote:
> rsync -v --recursive --rsh="ssh" login at host:*  dest_dir
> receiving file list ... link_stat "/home/login/*" failed: No such file
> or directory

This isn't an rsync problem, this is a shell-induced problem due to you
using a wildcard that doesn't match anything (the same thing would
happen using "cp", for instance).  Just drop the '*' and rsync will copy
the source directory directly.

..wayne..


More information about the rsync mailing list