This question already has an answer here:
A simple for loop in Unix would be:
for FILE in $BASE_WORK_DIR/*.pdf do echo $FILE done
This will echo all
BASE_WORK_DIR contains sub directories as well which also contain the pdf file.
In that case how can I design my for loop to take all pdf files from
BASE_WORK_DIR as well as sub directories of