How to change permissions on many folder with bash

March 5th, 2010 No comments

I was trawling the web today and found this quick and painless bash script to change all the default folder premission back to default.

find . -type d -exec chmod 755 '{}' \;

You could of course adapt this script to change ownership of folders by changing the chmod command to chown, but I’ll leave that one for you to work out.

Here’s another to change file permissions back to there default

find . -type f -exec chmod 644 '{}' \;

Happy scripting ;-)

New York Marathon

February 11th, 2010 No comments

I’ve just applied for the New York Marathon lottery again, I’ll hear if I’ve been successful by mid March, fingers crossed.

London Marathon Training

January 23rd, 2010 No comments

Well, I had my first long run of my marathon training today, all went well and I finished my 15 mile run in a tad over 2 hours. The reason I’ve missed the my first long runs are all to do with the weather, damn snow. Going on holiday in a week, thankfully they have a gym which I’ll use if I can’t get out and run.

Running for Marie Curie Cancer Care

December 25th, 2009 No comments

I’ve decided to run the Virgin London Marathon 2010 for Marie Curie Cancer Care feel free to sponsor me ;-) I’ll take anything your willing to give, anything you can afford from a pound upwards. You can get to my sponsor page from  here.

Marie Curie Cancer Care

The London Virgin Marathon

December 10th, 2009 No comments

I’ve had a bit of time tonight so I thought I would write  my marathon training program for next years London Virgin Marathon. My official training starts on the 3rd January. Until I start, I’m going to start taking up my mileage slowly, at present I’m only running about 15 miles a week. I think I’ll take it up to 30 in gradual steps.

Then when I do start my training proper, I won’t find it as hard. That’s the theory anyway :) .

My training schedule is here, fingers crossed for good health and no injuries (this time).