I'm running tests of a variable-size-and-contents test set. Data files are added and removed frequently. I'm looking for an automated way of gathering a file list.
All files are in subdirectories of
D; I need the full directory and name added to a text file. However, I only need those files that have a "paired" file, which has the same filename but a different extension (so... different filename, but in a structured way). So, if there is a
MyFileName.B, then I want
D/.../MyFileName added to the file list.
.A files without
.B files, but no
.B files without
.A files. If a
.A has a
.B file, then both files are in the same directory.