UNSOLVED

Mcleish

updated

8 years ago

M

Mcleish

1 Message

0

1965

March 14th, 2018 04:00

How to Extract extended file attribute/metadata from files

Hello,

I'm trying to extract information from files on the Isilon system but I'm struggling to get the information required.

We have a lot of files this needs to be done to so I was hoping I could create a script to extract the small amount of information for me but I cant get the information required through command line whether I am not using the correct commands or it isn't possible I do not know.

In Windows the user can right click a file, properties, Details, and then there is a Property called "File version"  it is this I am trying to get from the file.

From Google searches people suggest using something like ExifTool to get the information but obviously I cannot install this on the Isilon.

Has anyone got a suggestion on how to pull this information from files using the Isilon Or does the Isilon have a command that can do the similar function that ExifTool does?

Isilon OneFS: 8.0.0.4

Many thanks for your time.

Allan

  • CTinGM

    5 Posts

    1518

    0

    Posted November 22nd, 2019 06:00

    Curious if you ever found a solution...  We are also starting an investigating on best way to identify orphan/unused data.

  • tenortim

    36 Posts

    1509

    0

    Posted November 22nd, 2019 09:00

    Hi Allan,

    There's no "version field" in the filesystem metadata either on POSIX systems (Unix, Linux), or on Windows systems using NTFS.

    It is possible for applications to add extended attributes via NFSv4 or the namespace API, and on the Windows side, some applications use alternative data streams.

    In summary, there is no standardized way of doing this and it's entirely application-dependent so it comes down to which files you're interested in and how they were created. For instance, if they are photographs with EXIF data, then there are tools to extract that. The canonical way to perform such ad hoc searches is of the form:

    find - -print0 | xargs -0

    e.g.

    find /ifs/data/photos -name \*.jpeg -print0 | xargs -0 exiftool -v