Find text within files in sub directories find . -type f -exec grep -il “text string” {} ; Change the photo files name: for f in 100_*.jpg; do mv $f ${f/100_/p}; done Add an ‘s’ to thumbnail: for f in p*.jpg; do mv $f ${f/./s.}; done List all files including sub directories into file ‘a.txt’:… Continue reading My Unix Commands
Category: programming
WordPress user registration plugin – where is the Typo3 counterpart?
I have spent a large portion of today fighting the good fight with Typo3. Typo3 won the battle. I am sure if I knew what I am doing it would have been an easy task, but since I am still fumbling with that CMS, it was very hard and didn’t yield anything like what I… Continue reading WordPress user registration plugin – where is the Typo3 counterpart?
ASCII characters I love to use
Here is a list of ASCII characters I use often enough to create an entry on the blog, but not often enough to remember them off the top of my head. ‘ ‘ Single beginning quotation mark ’ ’ Single ending quotation mark “ “ Double beginning quotation mark ” ” Double ending quotation mark… Continue reading ASCII characters I love to use