What do you mean it didn't help? Code: find . -name "*.jpg" -print0 | xargs -0 -I {} cp {} /media/mmc1 There is a more or less simple way to do this, half the work has been done for you. Just fiddle the above till it works. Read up about find, xargs, cp, what all the flags do etc. Must try harder FFS!
find . -name "*.jpg" -print0 | xargs -0 -I {} cp {} /media/mmc1