Use the -r option.
bennelsworth Reviewed by bennelsworth on . How to Copy images I have a folder with lots of sub folder, there are many images and other files within those subfolder. i want to move all those images to another folder with a command in shell. how to do that folder1 ---------------- mydocs good pro above folder 1 is main folder. mydocs,good,pro are subfolders in folder1. there are image with extension .jpg and other files. I want to copy only those images to folder2. i dont have GUI, so i need a search and copy command which will do that. the Rating: 5