Feature #13823
openAdd a command to edit btime
0%
Description
Unfortunately there is no command in OpenIndiana to edit btime.
For comparison, I use a Unix-like system (macOS) that comes from BSD.
On macOS the user needs Xcode Command Line Tool. This can be found on Apple Developer Server.
Note: You may need an Apple Developer (Paid/Premium) account to access it.
If Xcode Command Line Tool is installed.
On macOS this command can be entered in Terminal to edit btime. On macOS, "Date Created" is taken in default file manager as the name to represent btime.
SetFile -d '12/31/2021 23:59:59' /Users/user/Desktop/test.rtf
It would be very nice if OpenIndiana has a similar command and in addition it should be integrated by default.
Updated by Nona Hansel over 1 year ago
muscle miscle wrote:
Unfortunately there is no command in OpenIndiana to edit btime.
Do I understand it correctly that you're looking for a command to edit the time in which the system was booted?
For comparison, I use a Unix-like system (macOS) that comes from BSD.
On macOS the user needs Xcode Command Line Tool. This can be found on Apple Developer Server.
Note: You may need an Apple Developer (Paid/Premium) account to access it.If Xcode Command Line Tool is installed.
On macOS this command can be entered in Terminal to edit btime. On macOS, "Date Created" is taken in default file manager as the name to represent btime.
SetFile -d '12/31/2021 23:59:59' /Users/user/Desktop/test.rtf
Could you please explain what this command does in macOS? Are you looking for a similar functionality?
It would be very nice if OpenIndiana has a similar command and in addition it should be integrated by default.
Updated by Gary Mills over 1 year ago
There is no btime in Unix, only atime, mtime, and ctime. See stat(2) for details.