Script Synchronization

Advertisement

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

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

Reply with quote

Advertisement

You can post new topics in this forum