Rockbox Development > Starting Development and Compiling

Copying files

(1/1)

fed:
Is there a function in rockbox like "cp" in unix, so that I can copy a file from one directory to another?

GodEater:
all cp is is a C program that opens two files and writes the contents of one to another - I don't believe there's actually a system call in the unix c library which implements cp directly.

bascule:
In the file browser, while highlighting the file you wish to work on, bring up the context menu (normally a long Select, or the equivalent on your device).

That context menu contains the cut, copy and paste commands.

http://download.rockbox.org/manual/rockbox-sansae200/rockbox-buildch4.html#x7-350004.1.1

fed:

--- Quote from: GodEater on July 02, 2007, 02:39:00 PM ---all cp is is a C program that opens two files and writes the contents of one to another
--- End quote ---

Do I need to write my own function in c to do this, or is there already a function to so this in rockbox.  If there is a function, do you know the name?

I tried "cp" already, but no luck.

Navigation

[0] Message Index

Go to full version