I have two directories called thumb and thumb2. They contain the same file names but are different in size. Unfortunatelly there are some files in thumb2 that are not in thumb which need to be removed.
$ ls ../thumb2 | wc -l 199030 $ ls ../thumb | wc -l 193455
I am searching for a command line command that will delete all files from thumb2 that are not also in thumb.
Does anybody have an idea on how to do that?