Need some help with linux command
I'm relatively new to linux.
Here's what I'm trying to do,
I have a file, called image.dd, which is an image of a drive.
I wish to search this drive and extract all files called 'index.dat' and parse them through another program and output them to one text file, which is the standard output of the parsing program.
the parsing program works like:
# ./pasco index.dat > output.txt
However I have to do this for every index.dat file on the drive.
I was hoping to use somethign like find to go through the drive in a manner such as
# find . -name index.dat /dev/sda
and push the resulting files through pasco and have them all add to one large text file,
Can anyone help me with the syntax?
TIA for any pointers,