Mirroring local directory in a remote server

Paul Smith phhs80 at gmail.com
Sat Jun 2 11:05:32 UTC 2007


On 6/2/07, Cameron Simpson <cs at zip.com.au> 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.

Thanks, Cameron. It works fine!

Paul




More information about the fedora-list mailing list