Terminal: Search and Replace text in all files in a folder and its subfolders

I just stumbled across a neat idea using perl to replace the content in files To replace all occurances of a string: find ./ -name “*.txt” | xargs perl -pi -e ‘s/stringtoreplace/replacementstring/g’ for every of these examples you can also use sed find ./ -name “*.txt” | xargs sed -i ‘s/stringtoreplace/replacementstring/’ or rpl rpl stringtoreplace […]

Read More

Terminal: Dealing with Immutable Files and Folders

If you have followed all the advice in the Knowledge Base articles “Mac OS X: About Trash, Deleting Locked Files – Article ID:106272” and “Mac OS X: Troubleshooting Permissions Issues” and are still unable to empty the Trash, or move an item to the Trash, you may have an immutable flag set on one of […]

Read More

Terminal: Secure Terminal.app

Some month ago I added a post to heise.de, how to secure the Mac OS X terminal.app. Now I found it mentioned on macosxhints.com – wao how amazing the internet is 😉 http://www.macosxhints.com/article.php?story=20060222011953661

Read More


  • An error has occurred, which probably means the feed is down. Try again later.