Rename to lower case

To rename all jpg-files in a folder to its lower cased equivalent, you can run this little shell script: $> for i in folderpath/*.jpg; do mv -v $i `echo $i | tr ‘[:upper:]’ ‘[:lower:]’`; done The -v param of mv will only give you a list of renamed files.

Build a website crawler using Scrapy Framework

Before a while I discovered the website crawling framework Scrapy as mentioned in my earlier post Nice Python website crawler framework. Now I wrote a little website crawler using this genius framework. Here are the steps I’ve taken to get my blog https://www.ask-sheldon.com crawled: Installation of Scrapy Install Python package management system (pip): $> sudo apt-get install […]