Re: how to sftp /home plus subdirectories -

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

 



Bob Goodwin USA wrote:
Patrick O'Callaghan wrote:
On Mon, 2008-05-12 at 14:57 -0400, Bob Goodwin USA wrote:
Can someone tell me what the proper command is to transfer the entire home directory plus it's subdirectories between two Fedora computers. I have no trouble moving files but can't seem to figure out how to do it in one fell swoop, if it is possible to do so?

I've tried gftp but that gets me into other uncertainties and has wasted my time.

I should be able to issue a "get" command it would seem?

Rsync is superior to ftp for this, for various reasons (security,
copying permissions, compression, optionally leaving stuff out etc.
etc.). It's easiest if you have SSH access to the target machine, e.g.:

rsync -az From.some.where:/home/foo/ To.somewhere.else:/home/foo

poc


Ok, thanks to all, I will try rsync, I guess I should have known to try that but it did not occur to me since I have been doing sftp for a while.

Again. thanks for the quick response.

"scp -r" will do it as well, assuming you have ssh between the two
machines, and it's encrypted as well.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                       rps2@xxxxxxxx -
- Hosting Consulting, Inc.                                           -
-                                                                    -
-          When all else fails, try reading the instructions.        -
----------------------------------------------------------------------

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux