Page 1 of 1
Prevent updating date when not renaming
Posted: 15 Oct 2018, 11:42
by Marth
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!
Re: Prevent updating date when not renaming
Posted: 16 Oct 2018, 03:32
by rednoah
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"
viewtopic.php?f=3&t=324
Re: Prevent updating date when not renaming
Posted: 16 Oct 2018, 18:59
by Marth
@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!
Re: Prevent updating date when not renaming
Posted: 17 Oct 2018, 14:02
by rednoah
Yes. Both GUI and CLI should pick up the FILEBOT_OPTS environment variable.

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.

Re: Prevent updating date when not renaming
Posted: 18 Oct 2018, 12:51
by Marth
Thanks again!