Re: SCP problem -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux