How to skip .DS_Store file in macos?

Started by Demi10241 reply68 views
Demi1024Original post
#1

I want to implement a folder upload feature. When I upload a selected folder, unwanted hidden files like .DS_Store appear. How can I skip this file? Additionally, how can I exclude it from being counted when selecting the folder?