Linux

Rename file extension recursively

This is a simple bash script to rename all JPG file extensions to JPEG, it works recursively and takes subfolders also. #!/bin/bash function rename_extension { #change all .jpg to .jpeg for file in $1/*.jpg; do mv $file $1/`basename $file .jpg`.jpeg; echo $file; done; # recurse directories for d in $1/*; do if test -d $d; […]

Read More
Linux

My custom putty settings

This is a quick note of my custom putty settings in Windows Category: Session Connection type: SSH Category: Window Lines of scrollback: 20000 Category: Window > Appearance Font: Lucida Console, 9-point Font quality: ClearType Gap between text and window edge: 3 Category: Window > Translation Character set: UTF-8 Handling of line drawing characters: Unicode Category: […]

Read More
Linux

apt-show-versions

apt-show-versions is a Debian tool that lists available package versions with distributions. This is really useful if you have a mixed stable/testing environment and want to list all packages which are from testing and can be upgraded in testing. This package is not installed automatically so you have to install it your self apt-get install […]

Read More
Linux

Make your blogs RSS feed mobile phone friendly

By using the Google Reader you can make your RSS feed mobile/cellular phone friendly and easy to read. All you need to do is add you RSS feed address to the end of this address http://www.google.com/reader/m/view/feed/[you RSS feed address] Example http://www.google.com/reader/m/view/feed//feed/ Result The RSS feed links are clickable and you can continue reading them in […]

Read More