[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Date de création d'un fichier ?



Frédéric Massot a écrit, le 06.07.2007 11:02 :
> Christophe Alonso wrote:
>> la question est simple, y a-t-il un moyen de connaître la date de
>> création d'un fichier ?
>
> Vous pouvez essayer la commande "stat" du paquet "coreutils".
bonjour,
oui mais non,

echo "toto" > toto

stat toto
  File: `toto'
[...]
Access: 2007-07-06 11:16:04.000000000 +0200
Modify: 2007-07-06 11:16:04.000000000 +0200
Change: 2007-07-06 11:16:04.000000000 +0200

echo "toto" >> toto

stat toto
  File: `toto'
[...]
Access: 2007-07-06 11:16:04.000000000 +0200
Modify: 2007-07-06 11:16:19.000000000 +0200
Change: 2007-07-06 11:16:19.000000000 +0200

cat toto
toto
toto

stat toto
  File: `toto'
  [...]
Access: 2007-07-06 11:16:50.000000000 +0200
Modify: 2007-07-06 11:16:19.000000000 +0200
Change: 2007-07-06 11:16:19.000000000 +0200

cordialement.
hého



Reply to: