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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux