boywijnmaalen
9/16/2015 - 7:20 AM

Delete a file recursively from the commandline

Delete a file recursively from the commandline

# find Mac files
$ sudo find folder-location/ -iname "._*"  -exec rm {} \; 

# find Mac files #2
$ sudo find folder-location/ -iname ".DS_Store"  -exec rm {} \;