Solaris Link File Automatic Change

From: Paul Avetoom (smasadm@hotmail.com)
Date: Sun May 12 2002 - 15:19:13 EDT


Hi,

I have a new file generated every day by an application. For example:

Ascii text files generated every day:

FRED1.20020527
FRED1.20020528
FRED1.20020529

FRED1 - link file which I would like to update every day
automatically such that the latest file is linked.

I want to make a link to the FRED1.xxxxx file such that the link changes to
the latest file every day. I have tried:

ln -s 'ls -1 * | tail -1' FRED1

But this doesn't update the link.

Does anyone have any idea how to do this ?

Regards,

PaulGet more from the Web. FREE MSN Explorer download :
http://explorer.msn.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:19 EDT