Skip to main content
Question

Extract file properties without reading it

  • June 14, 2022
  • 9 replies
  • 198 views

alc33
Contributor
Forum|alt.badge.img+11
  • Contributor
  • 54 replies

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

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • June 14, 2022

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


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3422 replies
  • June 14, 2022

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

image


alc33
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • 54 replies
  • June 14, 2022

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.


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3422 replies
  • June 14, 2022

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?


alc33
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • 54 replies
  • June 14, 2022

@ebygomm​ yes 🙂


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3422 replies
  • June 14, 2022

@ebygomm​ yes 🙂

There is a custom transformer ExifReader

 

It's not something I've used myself

 

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


alc33
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • 54 replies
  • June 14, 2022

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?


redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3699 replies
  • June 14, 2022

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?


alc33
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • 54 replies
  • June 15, 2022

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 !