View Single Post
Old 08-11-2008, 02:45 AM   #16
daudi
Addict
daudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-books
 
Posts: 281
Karma: 904
Join Date: Oct 2007
Location: Kent, UK
Device: iRex iLiad, Psion 5MX, nokia n800
In the line
Code:
find "$STARTDIR" -type f -name 'manifest.xml' > match.tmp
$STARTDIR is the starting directory. That comes from the config file, and if you are using the CF entry it should be /mnt/cf. The find command looks for files (-type f) called manifest.xml (-name 'manifest.xml') starting from that directory.
You could try
Code:
find /mnt/cf -type f -name 'manifest.xml'
to see the file names (full paths) in the terminal.
If I get some time later today I'll add some logging code to the script so we can see what is going on at each stage.
daudi is offline   Reply With Quote