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.