View Single Post
Posts: 157 | Thanked: 96 times | Joined on Nov 2007 @ Oxford, UK
#5
Originally Posted by paulkoan View Post
What aspect of cpio do you need? The ability to swap cards when full?

If you just need to pass the filenames, you could use xargs and cp

find . -name "*.JPG" -print0 | xargs -0 -i cp {} /media/mmc2/images

Hmm... does the n810 have xargs?
Yes, it has xargs, but busybox xargs doesn't have -0 or -i arguments. This should work though:
find -name "*.JPG" | while read foo; do cp $foo /media/mmc2/images; done