On Wed, 2008-02-13 at 06:06 -0800, bedwards wrote: > How would an RSYNC command look to copy all directories from one machine to > another. > > I have tried the following and only get a few directories: > RSYNC --rsh=ssh -rpog / IPADDRESS:/Directory > RSYNC --rsh=ssh -rpog */ IPADDRESS:/Directory > RSYNC --rsh=ssh -rpog /* IPADDRESS:/Directory
The first command should work. What directories does it copy, and what directories are missing from the destination? You could rerun the command with verbosity level 2 (-vv) to get more information about what it is doing. I would recommend passing -t to preserve modification times (needed for rsync to skip unchanged files on subsequent runs) and --one-file-system to avoid sending such virtual filesystems as /proc and /sys , but neither of these suggestions relates to the missing directories. Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html