Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to do the following with rsync:

I need to sync all files with the extension .zip from all subdirectories of a certain folder to another single folder. I need all the files to be copied to the same folder.

Also it needs to be one way so that if a file is deleted in the destination directory the file will not be copied over again on the next sync. This will all be done on the same folder.

share|improve this question

No you can't do this directly. If you say don't copy ones that aren't on the destination it wouldn't transfer new files.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .