Mac Utils

These are a variety of utilities intended to help you interact with your iPhone or iPod touch from your mac. They are all scripts that run around and in, what is essentially a hacked-to-be-quiet version of iPhuc.

The utilities are divided into two collections: iphucutils is the more powerful and works on your entire phone or touch. Medutils restricts its operations to the "jailbroken" part of your iPhone, the media folder.

iphucutils

checkdir

Takes one argument, a path. Returns 1 if it is that path leads to a folder on your phone or touch, 0 if it does not.

docopy

Copies the data off your phone or touch to a local folder. Set the tree root for the device (defaults to "/") and the path you want to copy to (localroot) by editing the perl file.

getfile

Copies a file off your iPhone. Set the local tree root by editing localdir.

lsfiles

Run ls on your iphone or touch

putfile

Copy a file onto your touch or phone

rmfile

Remove a file from your phone.

util

This is the quiet repackaged iPhuc.

MedUtils

getfile

Copy a file from your iPhone's Media/Documents folder to your Mac.

lsfiles

Lists the contents of Media/Documents on your phone or touch

putfile

Copy a file onto your touch or phone's Media/Documents folder

rmfile

Remove a file from your phone's Media/Documents folder.

lsroms

Lists the contents of your Media/ROMs/NES folder on your phone or touch.

putrom

Stick a ROM into the proper folder on iPhone or touch.

rmrom

Removes an installed ROM.

Erica Sadun