I currently have a parent directory with 10 folders with 10 different dates for names (ie. 2016-11-21, etc.) In these date folders, are WAV files with unique file names.
Separately, I have corresponding TXT files with the same name, but they are not currently in the folders with the matching WAV files. How can I loop it such that if the filenames match, the TXT file gets moved to the existing folder location within the parent directory?
Currently I have this structure:
I want something such that the structure will become:
Is this possible? Thanks