How to mount an NTFS-formatted USB drive in read-write mode on Mac OS X
Actually, it's very easy. No additional software is required. Just seven easy steps:
- Attach your USB drive
- Open the Terminal app (Command-Space, then type "Terminal", hit Enter)
- Type or copy/paste this command:
sudo sh -c "mkdir -p /mnt $(mount | grep ntfs | head -n 1 \ | awk '{ print "&& umount " $3 " && mount_ntfs -o nosuid,rw " $1 " /mnt" }')" - Locate your drive in Finder
- Drag/drop files there
- Unmount the drive as usual
- DONE!
The command breakdown, if you're interested:
mkdir -p /mntcreates a mount point -- a place in the file system where we will attach the drive- the
mountcommand without parameters gives you a list of the currently attached drives grep ntfsfilters non-ntfs drives out the listhead -n 1grabs the first line (we're assuming only one ntfs drive can be attached at a time)- the
awkpart produces two commands:umount /Volumes/<name>-- unmounts the drive from its original placemount_ntfs -o nosuid,rw /dev/<device> /mnt-- mounts the drive again, but this time in the read-write mode
- now, the
sudo sh -c "..."thing allows code execution with superuser privileges.
That's it.