Is there no way to reset the volume icon via the script? Seems a bit of a kludge to have to relaunch the Finder.
A better solution to this issue would probably be an option to ignore specific files on the target volume.
Thanks for this interim solution