Ubuntu – Copy only the files from the intersection of two directories over from directory 1 to directory 2
Suppose I have: dir_1 - file_a - subdir_0 - file_b - file_c dir_2 - file_a - subdir_0 - file_b I want to copy over every file that exists in both directories to dir_2. In the above example, this would mean…