![]() This attribute is updated when the file is read. This attribute is often referred to as ctime.Īccess: The date/time when the file was last accessed. ![]() This attribute is often referred to as mtime.Ĭhange: The date/time when the file’s attributes like owner, permission, etc, were last changed. Modification: The date/time when the file content was last modified. Assuming they are all present, the three date attributes are: It is common practice, for example, to disable the access time on SSD discs to minimize write access to the SSD. Linux based operating systems provide 3 different date stamps for a file, though their availability depends on the file system and file system options. If you know the touch command at all, you have probably used it for creating files with no content.Įach file on the filesystem has a number of attributes and some of these are date related. ![]() Surprisingly the command line tool called ‘touch’ is the program we need to manipulate the date of a file or directory. As far as I know both do not provide a UI (User Interface) option to do this out of the box, but what both operating systems do provide are the tools needed to do it in the console.Īs with most console based operations they can be a little bit more tricky then just clicking a few buttons on the UI. Changing the date of a file under Linux or Mac OS X can be quite a challenge. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |