Originally Posted by gerben12
Yes you can:
You wil need a list of your pc's, or hostnames of your pc's like so:
windowshosts="pc1 pc2 pc3 etc etc"
for host in $windowshosts
Where of course the rsync command would be you own rsync command, or however you make the connection.
This will rsync the files on your windowshost to linux, in the order specified in the windowshost variable, for every host defined there.
Dear Mr. Gerben,
Thank you for your reply.
I could understand your reply but i do not know how to implement in dos batch file. The following is the dos batch file used to backup:
rem Rsync job control file
c:\cygwin\bin\rsync -vrtz --password-file=c:\cygwin\secret --delete /cygdrive/c/pfimp email@example.com::modulename
In the above scenario how will i implement your solution.