I have a folder in my SD Card as: /mnt/sdcard/Folder1/Folder2/Folder3/*.jpg
/mnt/sdcard/Folder1/Folder2/Folder3/*.jpg
The name of Folder1 and Folder2 remains constant and inside Folder2 I have F
Please try with just giving the path from where you want to pull the files I just got the files from sdcard like
adb pull sdcard/
do NOT give * like to broaden the search or to filter out. ex: adb pull sdcard/*.txt --> this is invalid.
just give adb pull sdcard/