On Fri, 5 Nov 2010 23:48:21 -0600 LuKreme <[email protected]> wrote: > OK, I have DIR1 which contains several thousand files. I have DIR2 > that mostly the same files. > > I want to delete all the files in DIR1 that exist in DIR2. I don't > want to sync them, I don't want any new files in DIR2. > > I can't get my head around if this is doable with rsync. >
rsync -a -vv -i -W --remove-source-files dir1/ dir2/ -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
