CHMOD recursively
Posted by Nazly on Monday, 29th September 2008 14:04:58 (GMT +0530)Time to time I come across this problem when I have to move large portions of directories and files from one location to another. Mostly after extracting from tar archives. The directory/file permissions are often messed up depending on the source I copied them or based on the way I copied/archived them. So I used to use this technique to CHMOD directories and files recursively. Today when I was using this I thought of blogging it for my own future reference. If there is a better way feel free to comment.
CHMOD directories only
find . -type d -exec chmod 755 {} \;
CHMOD files only
find . -type f -exec chmod 644 {} \;
Comments (2)
Ubiquity - Connecting the Web with language
Posted by Nazly on Wednesday, 3rd September 2008 16:54:42 (GMT +0530)
Couple of days back I heard about Ubiquity, an experiment by Mozilla Labs to connect the Web with language that would make Web tasks much more easy and fun to deal with for an average user. I installed Ubiquity and I'm already fascinated by how certain painful day to day tasks can be done easily by combining few commands. The initial version, Ubiquity 0.1 comes with loads of features including working with maps and insert maps to anywhere you want, translate on-page, search google, search wikipedia, digg, twitter, lookup and insert yelp review, get the weather, syntax highlight any code you find, convert a URL to tinyurl and the list goes on. Its definietly a worther try.
Make sure you go through the Introduction to Ubiquity which has most of the information you need to know about Ubiquity. Don't forget to watch the video which explains how easy it is to do certain Web tasks using Ubiquity.
Also read the Ubiquity 0.1 User Tutorial which has some nice tips on how to use Ubiquity and also has some valuable information about how to extend Ubiquity by adding new commands.
Have fun..
Comments (2)














