How do I find text in command/transcript files via grep?

By: Richard Glaser - Revised: 2007-01-26 richard

You can use the following command to find text:

Server - Search Command Files
grep -rli "text to find" /var/radmind/command

Server - Search Transcripts
grep -rli "text to find" /var/radmind/transcript

Client - Search Transcripts
grep -rli "text to find" /var/radmind/client

Option -i ignores case
Option -l displays files with matches without normal output
Option -r read all files under each directory, recursively

For example, if you wanted to find all transcripts with the path "/private/var/db", you could use the following commands on client & server.

Server - Search Transcripts
grep -rli "/private/var/db" /var/radmind/transcript

Client - Search Transcripts
grep -rli "/private/var/db" /var/radmind/client

If the path to the file system object contains a space the radmind tools encode the space as a "\b", you will need to use this special character in your search.

For example, if you wanted to find "Adobe Registration Database", it would be listed in the radmind transcript as "Adobe\bRegistration\bDatabase". Then you could use the following grep command to search for it on your server.

grep -rli "Adobe\bRegistration\bDatabase" /var/radmind/transcript

You could also cascade grep commands...

grep -rli Adobe /var/radmind/transcript | grep Registration | grep Database