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.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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