Rsync message: client: nothing to do

Yuri Kretov ykretov at
Wed Mar 27 13:18:40 EST 2002


May be I am wrong, but why rsync tells me that it's nothing to do?
I just want to synchronize the directory's attributes (with no recursion) such as:
permissions, owner, group and time.


host1# pwd
! At first, I copy only subdirecory /usr/local/samba/lib 
host1# mkdir -p usr/local/samba
host1# rsync -a --delete -e ssh host2:/usr/local/samba/lib /var/rsync/host2/usr/local/samba
! Then, I want to update the attributes for /usr/local/samba, which was created by mkdir
host1# rsync -vpogt -e ssh host2:/usr/local/samba /var/rsync/host2/usr/local
! So, the diagnostic appears:
skipping directory /usr/local
client: nothing to do: perhaps you need to specify some filenames or the --recursive option?

-------------- next part --------------
HTML attachment scrubbed and removed

More information about the rsync mailing list