How to delete .DS_STORE files in current folder and all subfolders

February 13, 2023 | No comments

Delete .DS_STORE files in all subfolders

.DS_STORE file is automatically created in Apple Mac. If we have a git repository it is generally recommended that we remove all .DS_STORE files in the repository folder.
We can delete recursively using find command like bellow.
Delete .DS_Store
find . -name ".DS_Store" -delete

No comments :

Post a Comment

Please leave your message queries or suggetions.