Posts

Showing posts from May, 2011

Fix file permissions in Mac OS X

A few days ago I copied a bunch of files/folders from an external NTFS formatted hard drive to my MacBook. The files where copied ok, but the permissions where messed up.

How did I fix them? With this simple command:
$ chmod -Rv u=rwx,g=rx,o=r username path_to_base_folderIt recursively goes through all files and folders and fix their permissions. Source!

Atlético de Rafaela ascendió a Primera División

Image

Haskell in TextMate (Snow Leopard)

How to install the bundle:
mkdir -p /Library/Application\ Support/TextMate/Bundlescd /Library/Application\ Support/TextMate/Bundlesgit clone https://github.com/textmate/haskell.tmbundleThat's it!

Excelent Source!

Sync iPhone apps with iTunes without deleting them

Warning: This is only for  apps! Music and other things will not be saved!
Question I have a few apps on my iPhone, and would like to sync them with iTunes without erasing them from my phone. Is this possible without downloading them all again?
Answer secondary click the iPod/iPhone on the left  click "transfer purchases" Afterwards, you can sync, and "everything" will be erased and rewritten to the Device. source

Read and Write NTFS partition under Snow Leopard

This is experimental, and known to be unstable, use at your own risk.
You need to modify /etc/fstab file to mount NTFS partitions for read and write.
First, uninstall NTFS-3G/Paragon if installed.Open Terminal
run diskutil info /Volumes/volume_name and copy the Volume UUID.
Backup /etc/fstab if you have it (shouldn't be there in a default install). Run sudo vim /etc/fstab and write:
UUID=paste_the_uuid_here none ntfs rw
or
LABEL=volume_name none ntfs rw
(if you don't have UUID for the disk).
Repeat for other NTFS partitions.Restart your system.Thats all!
source (great web)