I want to find all files in dir1 having corresponding same file names in dir2, and delete them from dir1.
dir1: first.txt second.txt dir2: third.txt first.txt
So I want to remove from
How to achieve this using Bash terminal? (not script with
for loops etc. or 3'rd party program like "fdupes")