-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathtouch.txt
26 lines (21 loc) · 999 Bytes
/
touch.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
┏━━━━━━━━━━━┓
┃ TOUCH ┃
┗━━━━━━━━━━━┛
touch "FILE" #Update l'atime, ctime et mtime d'un fichier. S'il
#n'existe pas, cree un fichier vide
-c
--no-create #Do not create any files
-a
--time="access"
--time="atime"
--time="use" #Change only the atime et ctime
-m
--time="modify"
--time="mtime" #Change only the mtime et ctime
-d #Use time as specified in "STRING" instead of current
--date="STRING" #time (voir date -d pour le format de "STRING")
#De plus, le ctime n'est pas modifié
-t "STAMP" #Use [[CC]YY]MMDDhhmm[.ss] "STAMP" instead of current
#time
-r
--reference="FILE" #Use this file’s times instead of current time