Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Script Synchronization

Can you list both directories before "synchronize" and post an output here?

lls f:\server-backup\file-backup
ls /HDD-1000-1
synchronize local -mirror -delete -nopermissions f:\server-backup\file-backup /HDD-1000-1
Guest

Script Synchronization

I am trying to sync my server files to a local PC but keep getting "Nothing to synchronize" Where am I going wrong?


# Automatically answer all prompts negatively not to stall

# the script on errors
option batch on
 
# Disable overwrite confirmations that conflict with the previous
option confirm off
 
# Exclude files that I don't care about
# option exclude "*.db; *.ini; *.tmp;"
 
# Connect to the server (replace with your username, password, domain)
open "eaglerising (LAN)"
 
# Do the work
synchronize local -mirror -delete -nopermissions f:\server-backup\file-backup /HDD-1000-1
 
# Close and exit
close
exit