·

unix

Find translateable strings in Magento PHP Files

So here’s a nice little one-liner you can use to find strings that require translation in your Magento projects. Just go to the folder of your theme or extension and execute the following command: What it does, it looks for occurances of __(‘ anything ‘)  in your code and creates a typical Magento CSV-translation string read further ...

Mass rename files in Unix with iteration index

I already wrote a post a while ago about how to mass rename files in Unix. But today I was faced with the challenge to do the same trick, except rename each file to an increased number. I had a whole folder with all kind of PNG images, and I had to rename them to read further ...