News for hackers. Stuff that matters.
Re:1% of CMS-Powered Sites Expose Their Database Passwords (... by nodata on Monday February 04, 2013 @09:29AM (#5164199)
Please don't run the command above, it doesn't handle spaces. You might delete something you didn't intend to delete.

You need to add -print0 to find, and -0 to xargs to make it work properly: find . -name "*.swp" -print0 | xargs -0 rm

But better would be to use -delete as I wrote above.

Re:1% of CMS-Powered Sites Expose Their Database Passwords (... by mauvehaus on Monday February 04, 2013 @10:08AM (#5164436)
I'm a little bummed to find that this doesn't work on Solaris either (just checked). I don't generally use spaces in paths, but it's probably about half luck that I haven't been bitten by this yet. And sadly, I can't always just put GNU findutils on.