Simplify your business
Thursday, 24 July 2008 4:23 am

Deleting old files in Linux

Monday, 27 February 2006  

While the Linux find command has a number of uses, the most obvious being looking for files matching full or partial names, the one often underused option is to use it to locate old files. To show all files in /tmp/ivan/ older than 7 days:

find /tmp/ivan/* -mtime +7 -print

An even more powerful option is to use the -exec switch which allows you to delete old files. To delete all files in /tmp/ivan/ older than 7 days:

find /tmp/ivan/* -mtime +7 -exec /bin/rm -rf {} \; 2>/dev/null 1>&2

See this man page for details.


Where’s your home page?

Thursday, 23 February 2006  

I got an email from a friend of mine who occasionally reads this blog. His comments about one aspect of this website, and my subsequent reply, were interesting enough for me want to use them as the basis for this blog entry.

Read more >>


Email obfuscator

Monday, 20 February 2006  

Displaying “mailto” links in web pages is much less widespread than it used to be in the good old days, largely thanks to the proliferation of web scraping spam harvesters.

The email obfuscator uses a simple trick to effectively camouflage an email address which may be embedded in a web page. Considering that HTML supports character encoding (decimal and hex) in web pages, it’s possible to make text just a little more difficult to decipher for spambots, while still making it meaningful for humans.

Read more >>


The (broken) Da Vinci code challenge

Thursday, 16 February 2006  

Sony are at it again.

This time it’s Sony Pictures contributing to the web monkeys of the year awards.

As the Melbourne Age reported, Sony has decided to respond to the ongoing criticism of it’s upcoming film, The Da Vinci Code (based on the book of the same name) by putting up a website to:

Read more >>


Google death sentence

Monday, 13 February 2006  

Now that BMW and Ricoh have been caught spamming the search engines and their German websites have been removed from the Google index, I hope that BMW and Ricoh sack those idiots who obviously thought that trying to fool the world’s biggest search engine was a good idea.

Read more >>


Next page