Created
November 21, 2016 18:23
-
-
Save 47ronin/26c34627cb56ea6bdc1aeebc18659c23 to your computer and use it in GitHub Desktop.
Simple removal of macOS dotfiles from a path, usually external volumes
This file contains hidden or 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 /path/to -name "._*" -o -name ".DS_Store" | sed 's/.*/"&"/' | xargs rm -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment