Deleting a Directory Full of Files
I recently had a problem with 'rm ./*' returning the error '/bin/rm: Argument list too long'. The problem had previously popped up when removing the contents of a large cache directory and again when deleting a large mail spool. The work around is to pipe a find command into a rm. The following command will empty the directory you are in of all .jpgs.
find . -name '*.jpg' | xargs rm
Put this together a month or two back but never got around to replaci... read more
With the recent hype surrounding Node.js I thought I'd better get my ... read more
Campaign Monitor has a fairly comprehensive API and support docs.&nbs... read more
Absolute bare basics when it comes the Google Map api but a snippet o... read more