When macs share files over SMB they put in all sorts of " > ? and : characters, even though it's against the rules. So, I'm cleaning it up using a nice utility called Files Connect for my iPhone. I'm connected to the share on my Windows computer via SMB. I use my special command line…
dir /b /s y:\ > myfiles.txt
and that lists the files. The command stops when it encounters a character that it can't read, I look on the last line of myfiles.txt and find where it stopped. Then I browse there with Files Connect and rename the file/folder.
Easy, but time consuming.