How To Uncompress Multiple .zip, .gz or .bz2 Files on Linux (Centos)

Tuesday, October 25th, 2011

In situations while using SSH you may want to unzip/uncompress/extract multiple compressed files, you may follow the followings; To unzip multiple zipped .zip files; for file in *.zip; do unzip "${file}"; done

WordPress: Automatically Expire Posts After Specific Date/Time

Thursday, October 20th, 2011

Some time you may not want to keep a post published on your wordpress blog e.g. announcing some promotion, events etc. Instead of permanently deleting that post you may hide/expire that from your articles. For the purpose you can replace the existing posts looping code with the following in your ...