Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Copying files
« previous next »
  • Print
Pages: [1]

Author Topic: Copying files  (Read 1737 times)

Offline fed

  • Member
  • *
  • Posts: 54
Copying files
« on: July 02, 2007, 01:59:13 PM »
Is there a function in rockbox like "cp" in unix, so that I can copy a file from one directory to another?
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Copying files
« Reply #1 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 - I don't believe there's actually a system call in the unix c library which implements cp directly.
Logged

Read The Manual Please

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Copying files
« Reply #2 on: July 02, 2007, 02:57:14 PM »
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
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline fed

  • Member
  • *
  • Posts: 54
Re: Copying files
« Reply #3 on: July 02, 2007, 07:23:41 PM »
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

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.

Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Copying files
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.771 seconds with 22 queries.