directly delete files mac code example Example: remove mac ._ files windows find . -name "._*" -exec rm '{}' \; -print