Altering the time of access to a file
Nessun commento » Shell , System , Tips & Tricks No Comments »$ls -lu $touch nome_file $touch -a nome_file Similarly, you can change the date and time of 'last change without altering the data for the last access: $touch -m nome_file $touch -t orario_desiderato nome_file As for the syntax for the parameter to be taken orario_desiderato, `man` offers a simple explanation is not exhaustive, but rather:
L'argomento è un numero decimale della forma [SS]AA]MMGGoomm[.ss] con l'ovvio significato. Se SS non è specificato, l'anno SSAA viene assunto nell'intervallo 1969-2068. Se ss non è specificato, viene assunto 0; può essere specificato nell'intervallo 0-61 in modo da potersi riferire a secondi saltati («leap second»). L'orario risultante viene interpretato come un orario nel fuso specificato dalla variabile ambientale TZ. Si ha un errore se l'orario ottenuto è precedente al 1 gennaio 1970







