If you are using macOS you & if you using a network drive your mac you will get lots of duplicate files which files are known as Resource Fork. I’m using secondary HDD as ExFAT format & there is lots of duplicate files & I don’t want to the duplicate files are be there. Because Sometimes I’ve to create zip file & send to client as attachment or if I moved to other OS then those files will be looking ugly 😉
I decided to remove the files or disable to make this file forever on my HDD. For a solution, Googled and found some solutions on StackOverflow site. The best solution you can see on this link.
Also, You can do simple command on your terminal:
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true