terminal
Delete .svn folders on your Mac
Sometimes you need to get rid of .svn hidden folders on your Mac. In my case it was about resyncing my local working copy with client subversion repository. Everything was broken at both ends.
A couple of terminal commands to get rid of unneeded svn tracks:
cd /some/of/your/folders/
rm -rf `find . -type d -name .svn`It will delete any .svn folders under your current.
For lazy typists: don't forget that you can drag and drop folder from finder to terminal to populate path.
- Add new comment
- 465 reads
Configuring terminal to work with MAMP mysql on Leopard
I've decided to try MAMP on new Mac OS X 10.5. Mostly because PHP bundled with Leopard doesn't have GD library (otherwise it has quite cool set of modules). The other reason that is better Marc Liyanage's PHP installer is not yet ready for Leopard.
But after backing up all my MySQL databases (around 200Mb dump) it turned out that you can't acces MAMP's mysql via terminal to restore it (or I was something terribly missing from FAQs).
- 9 comments
- Read more
- 2560 reads

Recent comments: