Copy is done without renaming while log says otherwise

All your suggestions, requests and ideas for future development
Post Reply
Brax
Posts: 16
Joined: 31 Mar 2018, 09:58

Copy is done without renaming while log says otherwise

Post by Brax »

Hello,

I have had this strange behavior 2 or 3 times during last weeks:

Filebot is called to rename a new file, the log shows a good renaming, but the copied file is not renamed

Code: Select all

[MOVE] from [E:\DDL\Fichiers divers\Judas.Kiss.1998.MULTi.VFF.1080p.WEBRip.AC3.x264-TireXo.mkv] to [I:\USBShare1\1080P\Judas Kiss (1998) [tt0138541]\Judas Kiss (1998) [tt0138541] 1080p.mkv]
The problem is my copied file is in fact ;

Code: Select all

I:\USBShare1\1080P\Judas.Kiss.1998.MULTi.VFF.1080p.WEBRip.AC3.x264-TireXo (1998) [tt0138541]\Judas.Kiss.1998.MULTi.VFF.1080p.WEBRip.AC3.x264-TireXo (1998) [tt0138541] 1080p.mkv
Is it a knowed bug ? Do u need specific information to help ?

Thanks
User avatar
rednoah
The Source
Posts: 22899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Copy is done without renaming while log says otherwise

Post by rednoah »

Considering that moving and renaming is a single file system operation (i.e. not two separate operations) as far as FileBot is concerned, meaning it can't really half work half not work, the behaviour your describe is most strange and unusual.

My best guess would be some kind of display issue, i.e. file is renamed, but Explorer doesn't show it that way. Or some other 3rd party process moving / renaming files.
:idea: Please read the FAQ and How to Request Help.
Brax
Posts: 16
Joined: 31 Mar 2018, 09:58

Re: Copy is done without renaming while log says otherwise

Post by Brax »

Hi,

Thanks for your answered. It could be a problem from of of my NAS (Which has unidentified reboots lately). Is the file copied with the same name, and renamed once in place ?

The renaming isn't done, and the copy is. No caching issue.
User avatar
rednoah
The Source
Posts: 22899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Copy is done without renaming while log says otherwise

Post by rednoah »

Brax wrote: 18 Apr 2021, 11:47 Is the file copied with the same name, and renamed once in place ?
No.


FileBot is doing something akin to this:

Code: Select all

cp /input/A.txt /output/B.txt
:idea: This means that there is no point in time where either /input/B.txt or /output/A.txt exist, because the copy operation can copy from any file path to any other file path, no move / rename operation required.
:idea: Please read the FAQ and How to Request Help.
Brax
Posts: 16
Joined: 31 Mar 2018, 09:58

Re: Copy is done without renaming while log says otherwise

Post by Brax »

Thanks

I did think it wasn't possible. I still can't figure the difference between the log target file name and the real target file name then : In my example how could the target file name from the log be renamed as this ?
Judas Kiss (1998) [tt0138541] 1080p.mkv --> Judas.Kiss.1998.MULTi.VFF.1080p.WEBRip.AC3.x264-TireXo (1998) [tt0138541] 1080p.mkv
User avatar
rednoah
The Source
Posts: 22899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Copy is done without renaming while log says otherwise

Post by rednoah »

It can't. If FileBot says that it moved the file to Path A but you somehow find a file at Path B, then we're missing something else - unrelated to FileBot - going on.


Here's my best guess, but it really really could be anything:
rednoah wrote: 09 Apr 2021, 10:04 My best guess would be some kind of display issue, i.e. file is renamed, but Explorer doesn't show it that way. Or some other 3rd party process moving / renaming files.

:idea: If you're technical, and you really believe FileBot is copying files incorrectly, then you can always perform the copy operation yourself with your own custom code:
viewtopic.php?t=4915
:idea: Please read the FAQ and How to Request Help.
Post Reply