So I use these command on my storage server to clean up some junk, but it doesn't produce any output or result. I found the syntax online somewhere and just modified for which files I need it. What else do I need to add to see what is actually being deleted or total at the end? Ultimately this would be a script that will run automatically but for right now I'm running the commands manually. Thanks in advance!
find . -name .DS_Store -printf \"%p\"\ \ | xargs rm
find . -name ._.DS_Store -printf \"%p\"\ \ | xargs rm
find . -name Thumbs.db -printf \"%p\"\ \ | xargs rm
find . -name ._Thumbs.db -printf \"%p\"\ \ | xargs rm