Last active
April 9, 2018 05:16
-
-
Save boywijnmaalen/9066906bfa7a100b42e7 to your computer and use it in GitHub Desktop.
Delete a file recursively from the commandline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# find Mac files | |
$ sudo find folder-location/ -iname "._*" -exec rm {} \; | |
# find Mac files #2 | |
$ sudo find folder-location/ -iname ".DS_Store" -exec rm {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment