July 2009

Remove all .svn directories from a source tree…

rm -rf `find . -type d -name .svn`
  • Share/Bookmark

random

Comments (0)

Permalink

Operation not permitted whilst chown ‘ing …

Unfortunately I didnt get my backup done in time and the laptop went down.

anyway I had most of the stuff copied accross but still have some wierdness on new laptop.

I wanted to make sure everything was owned by my user (called admin) so i was trying to

chown -R admin * in my home dir.

I kept getting “Operation not permitted”. My freind Gordon pointed out that the files were locked and to remove the lock i need to do:

sudo chflags -R nouchg <files>

sweet.

  • Share/Bookmark

random

Comments (2)

Permalink

OS X Backup with psync

My laptop is behaving strangely, which makes me want to back up, fast!

I love this utility which copies the whole of your folders, including permissions and hidden system files.

The standard copy in finder often balks at some things.

http://psyncx.sourceforge.net/

Enjoy.

  • Share/Bookmark

os x

Comments (0)

Permalink