Prevent updating date when not renaming

Support for Windows 10 users and the Microsoft Store package
Post Reply
Marth
Posts: 3
Joined: 15 Oct 2018, 11:39

Prevent updating date when not renaming

Post by Marth » 15 Oct 2018, 11:42

Is there a way to prevent Filebot from touching the file date if it's not renaming the file? Did a scan of my movies folder (for example) and it changed the file date to the date/time of the scan, even if it didn't rename the file...

I was using the Windows portable GUI

Thanks!

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

Re: Prevent updating date when not renaming

Post by rednoah » 16 Oct 2018, 03:32

FileBot does not touch the date/time. However, Windows may change the last-modified time automatically whenever a file is renamed or xattr tagged. FileBot writing xattr metadata might be the reason Windows changes the last-modified date of the corresponding file. You can disable xattr support by adding the -no-xattr option when launching FileBot. Worth a try.

e.g. Set Environment Variables via CMD:

Code: Select all

setx FILEBOT_OPTS "-DuseExtendedFileAttributes=false"
:idea: viewtopic.php?f=3&t=324
:idea: Please read the FAQ and How to Request Help.

Marth
Posts: 3
Joined: 15 Oct 2018, 11:39

Re: Prevent updating date when not renaming

Post by Marth » 16 Oct 2018, 18:59

@rednoah - thanks for the reply - that must be it as all of the files were touched to update the date/time displayed.

Will the Windows GUI version pickup on the environment variable?

Thanks again!

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

Re: Prevent updating date when not renaming

Post by rednoah » 17 Oct 2018, 14:02

Yes. Both GUI and CLI should pick up the FILEBOT_OPTS environment variable.

:idea: I'd kinda recommend keeping xattr though. Might come in handy at some point. Throwing away information is generally not a good idea, unless you have a very good reason. ;)
:idea: Please read the FAQ and How to Request Help.

Marth
Posts: 3
Joined: 15 Oct 2018, 11:39

Re: Prevent updating date when not renaming

Post by Marth » 18 Oct 2018, 12:51

Thanks again!

Post Reply