I want to burn a .img file of Wheezy OS to my 8GB SD Card from Mac OS X but can't figure out how.

Any help would be appreciated.
['https://raspberrypi.stackexchange.com/questions/4144', 'https://raspberrypi.stackexchange.com', 'https://raspberrypi.stackexchange.com/users/-1/']
In 2020, this accepted answer is obsolete: For *most* cases, people should follow the new [raspberrypi.org Installation Guide](https://www.raspberrypi.org/documentation/installation/installing-images/README.md).

Alternatively, the community-provided [Etcher](https://www.balena.io/etcher/) tool also provides a graphical tool to burn Pi IMG files to SD card. 

Sometimes the built-in SD card reader gives errors with Etcher. If you don't have a USB SD adapter, 'dd' sometimes still works although the user must *take care* because the wrong command may damage their mac's OS. 

If you must use 'dd', the accepted answer `sudo dd if=path_of_your_image.img of=/dev/rdiskn bs=1m` works (with care taken) *however* if you have installed [Homebrew](https://brew.sh/) with the 'gnubin' utilities, it provides the GNU dd utility which has different syntax. For GNU dd (including Linux hosts) use `1M` instead of `1m` (otherwise you get error: "`dd: invalid number: ‘1m’`" which is what inspired me to add a new answer).
You could also try: [dd Utility](https://www.thefanclub.co.za/how-to/dd-utility-write-and-backup-operating-system-img-files-memory-card-mac-os-x)

Features:

* Write IMG files to memory cards and hard drives.
* Backup and Restore IMG files to memory cards and hard drives.
* Install and Restore compressed disk image files on the fly. Supported
file formats: IMG, Zip, GZip and XZ.
* Backup and compress disk image files on the fly in ZIP format to
significantly reduce the file size of backups.
* Ideal for flashing IMG files to SD Cards for use with Raspberry Pi,
Arduino, BeagleBoard and other ARM boards.
* Mac Retina displays supported.