original date of the creation of the file

Support for Windows 10 users and the Microsoft Store package
Post Reply
kmaster
Posts: 4
Joined: 23 Aug 2018, 06:55

original date of the creation of the file

Post by kmaster » 23 Aug 2018, 11:15

Hello,

I want to put the original date of the creation of the file. how to make?
thank you

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

Re: original date of the creation of the file

Post by rednoah » 24 Aug 2018, 07:05

When you say "original date", do you mean that you want to set the file creation date to the the movie release date / episode air date?

This behaviour can be enabled by setting FILEBOT_OPTS environment variable as follows:

Code: Select all

-DuseExtendedFileAttributes=true -DuseCreationDate=true

:!: Note that changing timestamps can interfere with incremental backup software in unexpected ways.
:idea: Please read the FAQ and How to Request Help.

kmaster
Posts: 4
Joined: 23 Aug 2018, 06:55

Re: original date of the creation of the file

Post by kmaster » 24 Aug 2018, 08:11

Hello,

I searched the forum and did not find how to use FILEBOT_OPTS.

I do not know where to put this code:

Code: Select all

-DuseExtendedFileAttributes = true -DuseCreationDate = true
Thanks for helping, filebot is working properly, I am happy to find this excellent program!

Thanks for helping

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

Re: original date of the creation of the file

Post by rednoah » 24 Aug 2018, 08:52

Hit the Windows key, then type env, and then the Windows Start menu search should already give you an Edit Environment Variables option.

Here's a tutorial on how to set environment variables on Windows:
https://www.addictivetips.com/windows-t ... indows-10/

Click New.

Variable:

Code: Select all

FILEBOT_OPTS
Value:

Code: Select all

-DuseExtendedFileAttributes=true -DuseCreationDate=true
:idea: Use copy & paste and make sure to not add extra spaces in the snippets I posted.
:idea: Please read the FAQ and How to Request Help.

gansqa
Posts: 2
Joined: 01 Oct 2018, 08:39

Re: original date of the creation of the file

Post by gansqa » 01 Oct 2018, 08:57

I'm wanting this as well but I want it to keep the original creation date of the file, not the episode air date. I tried the code above but it changed the file creation date to the episode aired date. I want it to be the date of my specific file created. How do I do this please?

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

Re: original date of the creation of the file

Post by rednoah » 01 Oct 2018, 10:39

-DuseCreationDate=false would disable this behavior. By default FileBot does not modify timestamps.
:idea: Please read the FAQ and How to Request Help.

gansqa
Posts: 2
Joined: 01 Oct 2018, 08:39

Re: original date of the creation of the file

Post by gansqa » 02 Oct 2018, 07:54

rednoah wrote:
01 Oct 2018, 10:39
-DuseCreationDate=false would disable this behavior. By default FileBot does not modify timestamps.
Perfect. That works thank you

Post Reply