Opened 4 years ago

Closed 3 months ago

#16948 closed enhancement (invalid)

Allow change of mtime and ctime timestamps

Reported by: Thomass Owned by: nobody
Priority: normal Milestone: R1
Component: Applications/Tracker Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Based on this thread in Community Forum.

https://discuss.haiku-os.org/t/how-to-customize-the-creation-time-ctime/10741

It would be good if Tracker had this function built in by default.

The function should be under "Get Info". The user makes a double click on Created or Modified and a small area appears where the user can change the timestamps.

One user has already made a small template for ctime.

https://discuss.haiku-os.org/t/how-to-customize-the-creation-time-ctime/10741/5

Now mtime is still missing.

More information here. This function exists since BeOS R3 (released in year 1998).

SetModificationTime

https://www.haiku-os.org/docs/api/classBStatable.html#a1f2b84cea7b32a238b41f97e0264a048

SetCreationTime

https://www.haiku-os.org/docs/api/classBStatable.html#a6a92b04cda608babf49f70ef4e3a2f36

Change History (4)

comment:1 by pulkomandy, 4 years ago

This is updated when the file is created or modified and I see no reason to manipulate it manually in Tracker? What would be the use case?

comment:2 by korli, 4 years ago

Sounds like a third-party opportunity (for advanced/power users).

comment:3 by nettheminionsmelon, 3 years ago

If backup programs did not properly restore the timestamp or if certain archive formats did not store created time by default. There is also a possibility that the location of the timestamp on the disk space is corrupted. Or your computer battery is dead and the clock was wrong when you saved the file.

comment:4 by waddlesplash, 3 months ago

Resolution: invalid
Status: newclosed

I agree with korli and pulkomandy; this doesn't sound like a feature Tracker needs, but a third-party application could add this if needed/desired.

Note: See TracTickets for help on using tickets.