FAR does Copy and Delete instead of Rename/Move

Here you can report bugs found in Far Manager.
Post Reply
CMDR
Posts: 13
Joined: Sat 27 Dec, 2008 20:19

FAR does Copy and Delete instead of Rename/Move

Post by CMDR »

Hi

Affected: FAR 2.0.1807 x32 and other Versions

When moving (F6) files with some filter enabled within the same drive, FAR copies them first to destination an then deletes from the source.

The result ist correct, but it takes a thousand times longer than neccessary. It would be faster if FAR would simply rename the files.

To reproduce the problem:

1. Select some directories thet contain MP3 or AVI files (for instance "C:\Documents and Settings")
2. press F6 to move them to another directory ON THE SAME DRIVE (for instance, "C:\Music")
3. define a filter named MP3 with file mask "*.mp3"
4. Enable Filters and start moving

One will see that FAR copies every single file from source to dest, and then deletes from source which takes ages. In my case, (27.000 files and 150 GB), the process takes about a day.

The behaviour happens in both cases: with "Use system copy routine" and without.

Maybe this can be optimzed...


Thank you!!!

CU

CMDR
User avatar
HaRT
Moderator
Posts: 10863
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 221 times
Been thanked: 358 times

Re: FAR does Copy and Delete instead of Rename/Move

Post by HaRT »

Copy&delete only happens to the files that Far cannot literally move, e.g. those locked by some processes.
Did you open these files prior to moving them? Did you close the program you opened them with? Please do a clean experiment and let us know the results.
Фар есть инструмент, а не нянька. © 2009 DrKnS
User avatar
DrKnS
Posts: 6114
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 12 times
Been thanked: 426 times

Re: FAR does Copy and Delete instead of Rename/Move

Post by DrKnS »

CMDR

Fixed (maybe) in 3.0.2010, plz check.
CMDR
Posts: 13
Joined: Sat 27 Dec, 2008 20:19

Re: FAR does Copy and Delete instead of Rename/Move

Post by CMDR »

Thanks for reply.

@HaRT: I'm sure that no process is accessing the files. (Because all 27.000 files are affected, its very unlikely that all of them are opened/accessed).

@DrKnS: the download section says that nighty builds of FAR 3.0 are not available yet. How can I get 3.0?

CU

CMDR
User avatar
DrKnS
Posts: 6114
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 12 times
Been thanked: 426 times

Re: FAR does Copy and Delete instead of Rename/Move

Post by DrKnS »

CMDR
Posts: 13
Joined: Sat 27 Dec, 2008 20:19

Re: FAR does Copy and Delete instead of Rename/Move

Post by CMDR »

Hi

I can confirm that in 3.0.2011 it works correctly.

Thank you guys a lot!!!!

CU

CMDR
Post Reply

Return to “Bug Reports”