Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: A script to find what's using a CD or DVD' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: A script to find what's using a CD or DVD
Authored by: Anonymous on Sep 04, '09 10:47:55AM

Not at a Mac, so I can't see what the output of drutil looks like, but you probably want "^type:" as the regex, rather than piping to head -1; just in case they change the order or add other fields. Or you could pipe through another grep -i -v "Book Type:" to exclude "Book Type:".



[ Reply to This | # ]