Sample Header Ad - 728x90

Compare two directories using mac terminal while ignoring the "._" in the file name

0 votes
1 answer
543 views
Just finished a copy of an external drive (exFAT) to another drive (HFS) using standard the Finder's Cmd+C, as I want to format the first drive (exFAT) to HFS. Now, I've been trying to verify all the copied files using -diff and -rsync for several hours, but for some reason, Finder has printed a "._" on all of the files on the exFAT drive, but excluded that on the destination drive. So naturally, both commands will tell me that all files differ, when they're actually the same in every other aspect. So, is there a way, maybe a certain flag or something, that lets me use either the diff command or dry rsync command to display any differences **apart** from that "._" added to the file names. For instance, I used md5 on two files, and their checksum's identical, even though their names differ.
Asked by Timeweaver (1 rep)
Oct 18, 2022, 12:19 PM
Last activity: Oct 18, 2022, 05:27 PM