Question

Extract file properties without reading it


Badge +1

Hi!

I have a lot of pictures and I would like to extract the date of creation.

But when I use the Reader it's too long.

So I tried with PathReader, but if I do that, the properties of the pictures are not avalables.

Does someone knows how to do that?

Thanks !!!


9 replies

Userlevel 4
Badge +30

Hi @alc33​ 

 

I suggest you to use the Directory and File Pathnames.

 

This Reader will bring a lot of informations (metadata) from your readers.

 

 

Thanks in Advance,

Danilo

Userlevel 1
Badge +21

With the pathreader you need to ensure the Retrieve file properties parameter is set to Yes

image

Badge +1

thanks @ebygomm​ and @danilo_fme​ for these answers.

My problem is that with this method, I don't have the properties of the pictures. I have only the properties of the path.

With an AttributeExposer, I also can't find the attributes I'm looking for.

I would like to have the same attributes that I see when I use a Reader of JPG.

Userlevel 1
Badge +21

thanks @ebygomm​ and @danilo_fme​ for these answers.

My problem is that with this method, I don't have the properties of the pictures. I have only the properties of the path.

With an AttributeExposer, I also can't find the attributes I'm looking for.

I would like to have the same attributes that I see when I use a Reader of JPG.

Are you actually looking for exif data?

Badge +1

@ebygomm​ yes 🙂

Userlevel 1
Badge +21

@ebygomm​ yes 🙂

There is a custom transformer ExifReader

 

It's not something I've used myself

 

https://hub.safe.com/publishers/jamess/transformers/exifreader

Badge +1

thanks @ebygomm​ 

I just tried, but I don't understand, it doesn't work...

Does it exist the same with windows parameters ? because I juste need the date of creation of the file. Maybe it's more easy to extract?

Userlevel 5
Badge +25

thanks @ebygomm​ 

I just tried, but I don't understand, it doesn't work...

Does it exist the same with windows parameters ? because I juste need the date of creation of the file. Maybe it's more easy to extract?

The PATH reader, with the option of retrieving file properties, should read the file creation date. What other properties are you hoping to extract?

Badge +1

hi !

I'm looking for the date the photo was taken.

On the "path_modified_date" it seams to be the same, so I will take it. It's more easy for me because my pictures was not modified.

But I think if the file is modified, it's necessary to use ExifReader.

"path_created_date" don't works because it's the date of copy/paste of the file in the folder.

Thanks for everyone for yours answers, I have all I need now 😊

Bye !

Reply