This command lists all the files match the provided name:
find . -iname .DS_Store
But when I use -delete parameter with it, I can't see the list of deleted files. They just get deleted.
Preferably without making it complicated with | xarg .. or -exec rm {}, is there any magic flag to see the deleted files when using find . -iname .DS_Store -delete?
PS: I know I can run the command without delete flag before, but I'm looking for something like print0 (though prints uglily) to get the job done.