Skip to content

Instantly share code, notes, and snippets.

@chuckntaylor
Last active January 29, 2025 04:13
Show Gist options
  • Save chuckntaylor/098e33ba9c39060ad5ce14bf7c764de3 to your computer and use it in GitHub Desktop.
Save chuckntaylor/098e33ba9c39060ad5ce14bf7c764de3 to your computer and use it in GitHub Desktop.
Delete ._ files

To delete dot underscore files, you can use the following command:

sudo find . -name "._*" -exec rm -rf {} \;

This will start in the current directory and recursively search for files that start with ._ and delete them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment