XD2031 icon indicating copy to clipboard operation
XD2031 copied to clipboard

FS_RENAME => FS_MOVE

Open nils-eilers opened this issue 12 years ago • 3 comments

Just came from implementing FS_RENAME for the FAT provider.

It works just like Linux mv command, meaning: it can rename/move files/directories. Tested: yes, it can even move and rename directories at once, e.g: @R:/foo=/somewhere/else/bar

Instead of limiting the command capabilities by checking if the command contains a path separator, I'd further like to rename FS_RENAME to FS_MOVE and allow this "officially". This implies a few changes to pcserver/fs_provider, since rename() cannot move files across file systems.

Approval?

nils-eilers avatar Nov 26 '12 03:11 nils-eilers

Yes, ok, but we need to change the fs_provider as well. If you can make it for 0.9.2 very good, but I mark it for 1.0 for now

fachat avatar Dec 12 '12 23:12 fachat

OK

nils-eilers avatar Dec 13 '12 15:12 nils-eilers

The rename FS_RENAME -> FS_MOVE is in already, but not the changed functionality.

fachat avatar Dec 19 '12 12:12 fachat