ExifTool Forum

ExifTool => Newbies => Topic started by: Dal on September 26, 2018, 05:58:49 AM

Title: Not possible to delete FileCreateDate?
Post by: Dal on September 26, 2018, 05:58:49 AM
Hi.
I'm trying to remove all metadata from some pictures with the -all= command.
But FileCreateDate and TimeStamp is not being deleted.

Before:
exiftool.exe" -a -s -time:all 20180102_120038.jpg
FileModifyDate                  : 2018:01:02 12:00:38+01:00
FileAccessDate                  : 2018:01:18 13:02:25+01:00
FileCreateDate                  : 2018:01:18 13:02:25+01:00
ModifyDate                      : 2018:01:02 12:00:37
DateTimeOriginal                : 2018:01:02 12:00:37
CreateDate                      : 2018:01:02 12:00:37
SubSecTime                      : 0995
SubSecTimeOriginal              : 0995
SubSecTimeDigitized             : 0995
GPSTimeStamp                    : 11:00:08
GPSDateStamp                    : 2018:01:02
TimeStamp                       : 2018:01:02 12:00:38+01:00
GPSDateTime                     : 2018:01:02 11:00:08Z
SubSecCreateDate                : 2018:01:02 12:00:37.0995
SubSecDateTimeOriginal          : 2018:01:02 12:00:37.0995
SubSecModifyDate                : 2018:01:02 12:00:37.0995


After:

"exiftool.exe" -a -s -time:all 20180102_120038.jpg
FileModifyDate                  : 2018:09:26 12:25:46+02:00
FileAccessDate                  : 2018:09:26 12:25:46+02:00
FileCreateDate                  : 2018:01:18 13:02:25+01:00


The FileCreateDate remains the same.
And if I open the photo in say, Acdsee, it says: Created: 18.01.2018 14:02:25

I have also tried -DateCreated= -TimeCreated= but same result.
If it's not possible to delete, maybe it can be modified to the date/time when I'm running the command?

Thank you.
Title: Re: Not possible to delete FileCreateDate?
Post by: Phil Harvey on September 26, 2018, 09:00:50 AM
Try this:

exiftool -all= -filecreatedate=now FILE

- Phil
Title: Re: Not possible to delete FileCreateDate?
Post by: StarGeek on September 26, 2018, 01:04:24 PM
Those three timestamps are not properties embedded in the file, but instead properties of the underlying filesystem.  Every file on your computer has them and they cannot be removed.  The command Phil gives should set them to the current time.
Title: Re: Not possible to delete FileCreateDate?
Post by: Dal on September 28, 2018, 04:53:02 AM
Quote from: Phil Harvey on September 26, 2018, 09:00:50 AM
Try this:

exiftool -all= -filecreatedate=now FILE

This worked like a charm, thank you.
Still seems like a bug to me, but hey! what do I know
Title: Re: Not possible to delete FileCreateDate?
Post by: Phil Harvey on September 28, 2018, 07:03:42 AM
StarGeek explained this, but to word it differently:

-all= deletes all metadata from a JPG file.

But FileCreateDate is not metadata in the file.  It is a property of the file, stored in the directory system (like the FileName).

- Phil