I'm trying to recursive erase all files that begin with "._" (aka mac dot files) on my server using SSH. The files are listed with a ls -a but this won't work:
rm -rf ._*
I know there's a way. Mind to share? Cheers!
find . -name ._\* -print0 | xargs -0 rm -f
find . -name ._\* -type f -delete
Specify that it's files and just call the find-delete on item directly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With