Check for zero byte file in unix6/29/2023 If the value of the YY is between 00 and 37, the value of the CC digits is assumed to be 20. ![]() If the value of the YY is between 70 and 99, the value of the CC digits is assumed to be 19. YY – Specifies the last two digits of the year.CC – Specifies the first two digits of the year.The format for specifying -t is YY]MMDDhhmm Instead of taking the current time-stamp, you can explicitly specify the time using -t and -d options. Explicitly Setting Access and Modification time using -t and -d NOTE: It is not possible to change the ctime using touch command 4. The above method can be used to change the mtime of all obj files, when using make utility. ![]() You can change the modification time of a file using -m option. By default it will take the current system time and update the atime field.īefore touch command is executed: $ stat tgs.txt We can change the access time of a file using -a option.
0 Comments
Leave a Reply. |