Link to home
Start Free TrialLog in
Avatar of edhasted
edhastedFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Mapping Windows Drive to Mac and synchronizing contents

I have a mixed Windows and Mac O/S network. All machines have access to a shared area on a server (Windows) that gets regularly backed up. The aim of this exercise is to back the workstations up.

I have created mappings on the Macs to the server and set then up in System Preferences so they connect when the user logs in. This appears as a remote disk on the Desktop.

What I am unable to do is create an Rsync script that copies the selected folders from the Mac to the Server and then not sure how to synchronise then (this doesn't have to be done in real time, but every hour or on logon/logoff).

I have got as far as:
rsync -av --progress "Users/Username/Desktop/FolderToCopy" "RemoteDIskDesktopshortcut"

This would appear to be copying the files but they don't appear at the destination (most odd).

So how do I have to correctly phrase the rsync line and setup the synchronization? And most importantly is this the sanest way to do this?

Many thanks.
ASKER CERTIFIED SOLUTION
Avatar of serialband
serialband
Flag of Ukraine image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of edhasted

ASKER

Thanks Serial - it is for backing up. If I had a Mac only environment I would have just time machined it. Thanks for your notes on rsync syntax and had got it working with AppleScript + Automator for the time being.