I have been using strings to extract and compare file versions between directories. I don't seem to be able to do this recursively. The method I have been using per file is: strings -e l FILENAME.exe | sed -e :a -e '/FileVersion$/N; s/FileVersion\n/FileVersion /; ta' | grep FileVersion | cut -d ' ' -f 2Removing Filename and replacing with * works. But I only get File version and no filename. Including a -F give me the filename for strings. But I don't understand how I can format Sed / Grep to collect just the Filename and Version Number.
Strings - Extract File Version Recursive
text processing;sed;grep;string;cut