Skip to main content
Question

Extract file properties without reading it


alc33
Contributor
Forum|alt.badge.img+10
  • Contributor

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
Evangelist
Forum|alt.badge.img+41
  • Evangelist
  • 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+31
  • Influencer
  • 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+10
  • Author
  • Contributor
  • 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+31
  • Influencer
  • June 14, 2022
alc33 wrote:

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+10
  • Author
  • Contributor
  • June 14, 2022

@ebygomm​ yes 🙂


ebygomm
Influencer
Forum|alt.badge.img+31
  • Influencer
  • June 14, 2022
alc33 wrote:

@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+10
  • Author
  • Contributor
  • 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+49
alc33 wrote:

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+10
  • Author
  • Contributor
  • 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 !


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings