690 shaares
3 liens privés
3 liens privés
3 résultats
taggé
date
timestamp to date in command line
date -d @1267619929
DATE=`date +%Y-%m-%d:%H:%M:%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 :
touch temp -t 200604141130
touch ntemp -t 200604261630
find /data/ -cnewer temp -and ! -cnewer ntemp