I'm writing a script which requires the use of ipodpatcher, and I'm kindof a scripting n00b, so I was wondering if anyone could tell me how to get just the device location from "ipodpatcher --scan", e.g. "/dev/sda" and input it to a variable?
It would also be nice if it could output the iPod type to a variable, e.g. "1st generation iPod Nano"