News:

If this site goes down it is because of the crappy DreamHost web hosting: They will disable your "unlimited traffic" web server if a single bot hammers the site with a moderate load.  If necessary, an alternate ExifTool forum page is available at https://sourceforge.net/p/exiftool/discussion/

Main Menu

Not possible to delete FileCreateDate?

Started by Dal, September 26, 2018, 05:58:49 AM

Previous topic - Next topic

Dal

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.

Phil Harvey

Try this:

exiftool -all= -filecreatedate=now FILE

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

StarGeek

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.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Dal

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

Phil Harvey

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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).