How to synchronize between differently structured directories using rsync (or other program)
- by doetoe
Does anyone of you know how to perform the following task:
Suppose you have two directory trees, which I will call source and target. They may have a very different structure, but could contain many duplicate files.
An example would be a structured collection of photographs on one hand (the destination), and just a tmp directory in which you unload everything from your camera on the other (the source).
Maybe some of these files are already in the structured directory tree. I would like to rsync from the source to the target, such that only the files from the source that are not in the destination at any location are copied.