Háttőőő... kipróbáltam helyi és távoli targettel, ugyanez:
fisher@s2:~$ rm -fr /tmp/x ; mkdir /tmp/x; rsync -a --exclude='.*' /home/fisher/ /tmp/x/ ; file /home/fisher/.bashrc /tmp/x/.bashrc
/home/fisher/.bashrc: ASCII text
/tmp/x/.bashrc: cannot open `/tmp/x/.bashrc' (No such file or directory)
Mindegy hogy " vagy '
Van-e --delete és van-e --delete-excluded?
És mindegy hogy van-e perjel vagy nincs:
fisher@s2:~$ rm -fr /tmp/x ; mkdir /tmp/x; rsync -a /home/fisher /tmp/x ; file /home/fisher/.bashrc /tmp/x/fisher/.bashrc
/home/fisher/.bashrc: ASCII text
/tmp/x/fisher/.bashrc: ASCII text
fisher@s2:~$ rm -fr /tmp/x ; mkdir /tmp/x; rsync -a --exclude='.*' /home/fisher /tmp/x ; file /home/fisher/.bashrc /tmp/x/fisher/.bashrc
/home/fisher/.bashrc: ASCII text
/tmp/x/fisher/.bashrc: cannot open `/tmp/x/fisher/.bashrc' (No such file or directory)
fisher@s2:~$ rm -fr /tmp/x ; mkdir /tmp/x; rsync -a --exclude=".*" /home/fisher /tmp/x ; file /home/fisher/.bashrc /tmp/x/fisher/.bashrc
/home/fisher/.bashrc: ASCII text
/tmp/x/fisher/.bashrc: cannot open `/tmp/x/fisher/.bashrc' (No such file or directory)