Discussion: the newer of 2 files
Afficher un message
Vieux 27/05/2007, 14h54   #5
Bill Marcum
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: the newer of 2 files

On Sun, 27 May 2007 04:02:16 GMT, osiris@abydos.kmt
<osiris@abydos.kmt> wrote:
>
>
> I thought of a way to compare modification dates
> of two files in order to determine which is newer.
>

Another way to compare file dates is
ls -t old new
The newest file is listed first, or last if you change -t to -tr.


--
Honk if you hate bumper stickers that say "Honk if ..."
  Réponse avec citation
 
Page generated in 0,04486 seconds with 9 queries