On Sat, 24 Nov 2012 22:47:20 +0100 Reindl Harald <h.reindl@xxxxxxxxxxxxx> wrote: > > > Am 24.11.2012 22:42, schrieb Marko Vojinovic: > > However, your problem seems to be in the circular links in the > > source /home/bobg/. Somewhere under the directory tree, there is > > probably a soft link pointing to its own parent directory (or > > several levels up). Since scp follows symbolic links (read about -r > > option in man scp), it gets into a loop, copying one directory > > subtree over and over and over. Apparently scp lacks an option to > > disable following symbolic links, so there is no easy way to fix > > this. > > htaht is why i suggested to use rsync with the --links > option, this will copy links as links and is the better > solution as scp because both are running over ssh but > rsync is much more fexilble and can cover any type of > links and attributes Yes, rsync is probably the best tool for the job in this case. But anyway, I sometimes wonder how come that scp doesn't have an option to disable symbolic links. It's an obvious thing to have, precisely for these purposes... Best, :-) Marko -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org