Re: SCP problem -

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

 



Bob Goodwin - Zuni, Virginia, USA writes:


   Is there something wrong with this command?

       [root@box9 simple]# scp -r  bobg@box8:/home/bobg/
       /run/media/bobg/Simple/Box8BkU

   I would like to copy the contents [roughly 44G per du -h] of
   /home/bobg/ on box8 to an external USB 500G hard drive. The problem
   is that it appears to be trying to keep recopying the files until
   the 500 gigs is reached. I let it run until the end yesterday and it
   quit protesting it had run out of space.

You will find your answer in the scp man page:

    -r      Recursively copy entire directories.  Note that scp follows sym‐
                                                                ============
            bolic links encountered in the tree traversal.
            ==============================================

Somewhere in your home directory you have a symlink pointing to a parent directory. This will result in scp -r going into an infinite loop, as it keeps finding and recurse into the same symlink.

Eventually, if the target is big enough, scp -r will probably fail, when the constructed pathname finally exceeds PATH_MAX :-)


Attachment: pgpVqTXAAmHrL.pgp
Description: PGP signature

-- 
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