Rockbox mail archiveSubject: Re: files api - what about moving files to an other dir?
Re: files api - what about moving files to an other dir?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 22 Aug 2002 13:11:13 +0200 (MET DST)
On Thu, 22 Aug 2002, Fabian Merki wrote:
> what i always missed (in the old days when i was using the archos firmware
> ;-) was that i could delete a file but couldn't just move it to an other
> directory. i could think of 2 subfolders: archive (=old, bad songs) &
> faulty (yea, *sometimes* i download songs from the net...
Here's a suitable quote from docs/API:
int rename(const char *old, const char *new);
NOT CURRENTLY SUPPORTED.
The rename() function changes the name of a file. The old argument points
to the pathname of the file to be renamed. The new argument points to the
new pathname of the file.
-- Daniel "Bagder" Stenberg -- http://rockbox.haxx.se/Received on 2002-08-22