690 shaares
3 liens privés
3 liens privés
File was last accessed n*24 hours ago. When find figures out how many 24-hour periods ago the file was last accessed, any fractional part is ignored:
+7 = more than 7 days ago
2 = between 2 and 3 days ago
-2 = within the past 2 days
+1 = more than 1 day old
1 = between 1 and 2 days ago
-1 = within the past 1 day
0 = within the past 1 day
Ainsi que :
# modify modification time of a file
touch -m -t 200604141130 <file>
# modify access & modification time of a file
touch -t 200604141130 <file>
touch -t 200604141130 temp
touch -t 200604261630 ntemp
find /data/ -cnewer temp -and ! -cnewer ntemp