Mirroring local directory in a remote server

Cameron Simpson cs at zip.com.au
Sat Jun 2 10:22:26 UTC 2007


On 02Jun2007 11:05, Paul Smith <phhs80 at gmail.com> wrote:
| I connect to a MS Windows network server with Konqueror at an address
| like the following:
| 
| smb://myusername@server.uni.edu/myuser$
| 
| How can I create a mirror of a local directory in the remote server? I
| tried rsync, but I was unsuccessful.

Rsync will want filesystem access. Try (untested):

  mkdir /mnt/uni
  mount -t cifs -o user=myusername //server.uni.edu/myuser\$ /mnt/uni

and then:

  rsync ... localdir/. /mnt/uni/foo/bah/.

adjust as you find necessary.
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

Support Darwinian evolution -- Squash a weakling today.
        - David Wren-Hardin <bdh4 at midway.uchicago.edu>




More information about the fedora-list mailing list