Listing files that end in ".txt" from directories with the word "SALARIO" in its name without using pipes
I tried it and it works for me, so I suggest you to use the following command.
find -path '*SALARIO*/*' -name '*.txt'
Try this find . -wholename "./SALARIO/*.txt"
List *.txt
files directly under SALARIO/
$ find -type d -name 'SALARIO' -exec sh -c 'ls $1/*.txt' _ '{}' \;
Or
$ shopt -s globstar; ls **/SALARIO/*.txt