Skip to content

Access timestamp of files? #42

@gray-space

Description

@gray-space

Hiya! So, I have a use case for knowing the timestamp of a file in a disk image. Basically, I want to compare the timestamp of a file in the image with one of a file outside in the host filesystem. If the filesystem is a newer file, I want to have a script update the file in the image.

Using the -ll command doesn't seem to give this to me. There is some added data in the output each file that I can't decipher. For example:

TITLELOAD.P Destroy Read Rename Write TXT 016 06/05/2020 06/05/2020 7,304 $0000 0359 0ABD Sapling Changed 0 0

Looking at the disk image in Ciderpress, I see that the file's timestamp is 17:18. I can;t figure out a way you'd get that value from either 0359 or 0ABD. Do they reflect the timestamp somehow? If not, is there a way to access the timestamps of the files in the image?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions