Archive for linux

stunnel for mysql – server and client

We needed to set up an stunnel to the mysql server (, so that the client ( and the server can communicate over an encrypted tunnel.

Read the rest of this entry »


renaming multiple files (bash)

I had to rename many .phtml files, so that their extension will change to .php. This does the trick:

for i in *.phtml; do mv $i ${i%.phtml}.php; done