Compare and sync the files into another local folder

Advertisement

zenpie9
Guest

Compare and sync the files into another local folder

Hi, I'm trying to implement a script which will compare all files in a local folder to that of the remote folder. But sync those files into another folder in local machine but not to the source local folder. Any suggestion/help really helps me. Thank you!

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,731
Location:
Prague, Czechia

Re: Compare and sync the files into another local folder

So why don't you sync the remote files against the "another local folder"?

Reply with quote

Zenpie9
Guest

Thanks for your prompt reply. Our scenario is, the remote files should be downloaded into folderA. And then they will be processed and sent to FolderB. But in some exception cases all files may not be downloaded into folderA. That's why to confirm all files were downloaded into folderA without fail, we need to verify all files at remote location were downloaded into folderB ultimately.

That's why, we need to verify all remote files against files in folderB and then download only missing files into folderA at the end of the day.

I hope I'm clear. If not plz tell me. Thank you for your time & efforts.

Reply with quote

Advertisement

You can post new topics in this forum