Skip to content

2014

Run gsutil from crontab

Setting up gsutil to sync files over to Google Cloud Storage (on CentOS 6) requires some environment variables to be set, which seems oddly undocumented at the moment. Turning to Stackoverflow was the solution, and here’s a summary from that.

What's hogging that folder?

Well, at least in Linux you might find out using this command:

lsof <folder name>

Search and replace

A very simple and quite rudimental search and replace script with a UI. It will only search and replace contents of files and not the filenames.