Page 1 of 1
					
				original date of the creation of the file
				Posted: 23 Aug 2018, 11:15
				by kmaster
				Hello,
I want to put the original date of the creation of the file. how to make?
thank you
			 
			
					
				Re: original date of the creation of the file
				Posted: 24 Aug 2018, 07:05
				by rednoah
				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.
 
			
					
				Re: original date of the creation of the file
				Posted: 24 Aug 2018, 08:11
				by kmaster
				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
 
			
					
				Re: original date of the creation of the file
				Posted: 24 Aug 2018, 08:52
				by rednoah
				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:
Value:
Code: Select all
-DuseExtendedFileAttributes=true -DuseCreationDate=true

 Use copy & paste and make sure to 
not add extra spaces in the snippets I posted.
 
			
					
				Re: original date of the creation of the file
				Posted: 01 Oct 2018, 08:57
				by gansqa
				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?
			 
			
					
				Re: original date of the creation of the file
				Posted: 01 Oct 2018, 10:39
				by rednoah
				-DuseCreationDate=false would disable this behavior. By default FileBot does not modify timestamps.
			 
			
					
				Re: original date of the creation of the file
				Posted: 02 Oct 2018, 07:54
				by gansqa
				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