Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
Which is the best application to Sync two folders?

I want to know a very simple application to help me to keep and update backup copy of folders. I want to generate a list (alphabetically sorted) of all files (with size and last modification date) and subfolders of a folder that I choose, and save it to a legible file. I want to compare two folders to find differences between them and update the folder with newer files, instead to delete the entire old folder and copy the entire new folder.

share|improve this question
    
Linked duplicate question is gone. Please reopen it. –  nixda Jul 11 '13 at 10:58
    
@nixda This would just get closed again as off-topic, asking for product recommendations. If a question is a duplicate of a deleted question, the argument is that the duplicate might need to be deleted too, not that it's no longer a duplicate. –  Darth Android Jul 11 '13 at 16:20
    
@DarthAndroid Apologies, but for me its hard to follow this. A duplicate should maybe be deleted if its linked duplicate is gone? O.o Nevertheless you're right about the offtopic close reason . –  nixda Jul 11 '13 at 16:30
    
@nixda If two questions are asking the same thing, and one is deleted because it doesn't fit on the site, then it stands to reason that the other question doesn't fit on the site either. I said "might" because it's rare to have two exactly identical questions, just similar ones that are likely to have the same answers. –  Darth Android Jul 11 '13 at 16:37
    
@DarthAndroid I see my fault. I thought that question was removed by the author itself but in fact it was removed by superuser. Ok –  nixda Jul 11 '13 at 16:50
add comment

marked as duplicate by techie007, Mehper C. Palavuzlar, studiohack Mar 12 '11 at 23:24

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

You might want to use rsync for this purpose, it does pretty much what you want to do manually. So it won't give you a nice diff log, but it will sync your directories without copying existing/untouched directories and files.

If you're using Windows:

Check out how to setup rsync for Windows here or here. Alternatively, install Cygwin, a collection of tools which provide a Linux look and feel environment for Windows. It contains rsync as well.

If you're using *nix (Unix/osx/Linux)

rsyncis included in nearly every major distribution and is accessible through the terminal. If yours hasn't, get it here.

About rsync

rsync will sync:

  • local -> local
  • local -> remote server
  • remote server -> local

Check out the rsync man(ual) page for more information on rsync.

share|improve this answer
add comment

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