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


Click here to return to the 'Copy files from a damaged iPod' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Copy files from a damaged iPod
Authored by: Hal Itosis on Feb 28, '07 10:55:41AM
> Here's a script I wrote...

My, that script looks awfully familiar.
Anyway...


> # We need to loop through the iPod, and tell it to copy each file
> # We're copying every file that is M??, so MP3, MP4, M4a, etc.
> This won't catch audible (.aa) files.
>
> for file in `find . -name *m?? -print`

One problem I see is that there was nothing in your script where it sets the
current working directory. I.e., it (or the user) needs to "cd" into /Volumes/iPod
before the search loop, so that '.' will refer to the source directory (the iPod).

-HI-

[ Reply to This | # ]