View Single Post
Posts: 13 | Thanked: 5 times | Joined on Feb 2006 @ Oregon
#1
I am trying to write a simple file copy command in xterm [find /./media/usb/sda1/dcim -name '*.JPG' | cpio -p /./media/mmc2/images] and received the message "sh: cpio: not found". Typing /bin/busybox without arguments gave me a listing of all command line "commands" available. The command "cpio" was not on the list. Why is the command "cpio" not available in this version of the Nokia IT's operating system (OS2008)? Is it available and am I just missing something or entering the syntax of the file copy command incorrectly?

I have a need to copy specific file types in multiple directories on my camera's CF memory card to a specific directory on my IT's SD memory card. The tablet is set to host mode and I can read all of the media devices correctly. I can list all of the files at /./media/usb/sda1/dcim and at /./media/mmc2/images to see what is in each directory. The "find" command works to list (print) the files that I need from the multiple directories on the CF memory card. I am just getting hung up with the lack of "cpio" in the command set.

Anyone have an idea on how to get the command "cpio" working on my N800 with the latest OS2008? If not, can someone suggest another way to copy the files from multiple directories on the CF memory card to one directory on the SD memory card in the tablet? Preferably without writing an entire shell script and without having to manually select files using File Manager!

Many thanks for your help.

Steve