Tom Link wrote:
>> When I try to rename a file 1.PDF to 1.pdf, then I find the file got lost! I
>> can't find it any other where. But I have backup them up with lucky.
>>     
>
> I don't know either what's going on here but the netrw help page for
> move says:
>
>     WARNING:~
>
>     Note that moving files is a dangerous operation; copies are
> safer.  That's
>     because a "move" for remote files is actually a copy + delete --
> and if
>     the copy fails and the delete does not, you may lose the file.
>
> So I suppose you're copying 1.PDF to 1.pdf, which is the same on
> fat32, and then delete it.
>
> You might have more luck by using some command line tool for this, I
> presume.
>   
I'll have to try this out -- I don't have a linux box with a fat32 
mounted drive immediately available, but perhaps by tomorrow I'll be 
able to test this out.
The warning mentioned above deals with moving/renaming remote files.  If 
I understand the problem correctly, a Freebsd system has a fat32 
partition mounted and
the move (with R, I presume), is therefore local.  Local moves are 
accomplished with vim's rename() function under netrw.  So either the 
remote method (copy+delete) is being invoked
inadvertently or there's a problem with rename().

Regards,
Chip Campbell


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to