I wish to find a windows program (preferably with GUI) that will compare recursively a remote folder (SFTP) and a local one.

I would like it to list all the files and folders that are different, deleted or added based on timestamp and/or filesize (with this a changeable option).

I am not looking for a program to copy any files in either direction, just a list of the differences.

Robocopy may be a possible answer, but I can't see how to achieve this using it, and the Richcopy GUI for it doesn't appear to have the list only option.

Many thanks!

P.S. I posted a similar but different question, but these requirements are definitely different, hence this question.

migrated from stackoverflow.com Jan 13 '12 at 8:12

This question came from our site for professional and enthusiast programmers.

  • Have you got access to shell / command prompt on the remote server? – adarshr Jan 12 '12 at 9:25
  • Yes, can do. SSH to a linux server. – Alex Hadley Jan 12 '12 at 9:29
  • Why the down-vote? – Alex Hadley Jan 12 '12 at 9:45
  • Ah ok, that's fair enough. I am coming at this as a programmer, wanting to know if anyone else has edited any of the files I'm working on. But obviously, if it's better elsewhere that's fine by me! Thanks. – Alex Hadley Jan 12 '12 at 10:00
  • make a copy of your local directory, then use rsync to synchronize the local copy with the remote directory and finally, use diff between the original directory and the modified copy to find out the differences. – salva Jan 12 '12 at 10:05

You can try BeyondCompare and/or Directory-compare

  • BeyondCompare looks like a very interesting prospect! – Alex Hadley Jan 12 '12 at 9:45
  • Yes, take alook here: en.wikipedia.org/wiki/Beyond_Compare you can fnnd there some links to alternative software too, personally i use WINMERGE but more for Files not for folders. – O.D Jan 12 '12 at 9:49

I can't think of any such program, but I can definitely suggest a way out.

How about running a command such as dir /s /b (unix ls -R) on both the servers and redirecting it to a text file and then comparing them both using your favourite compare program (WinMerge for ex).

You must run the same command on both local and remote servers though.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.