[SLUG] whats the best way?

From: Mikes work account (mrock@stewartsigns.com)
Date: Tue Jul 31 2001 - 09:03:17 EDT


There are lots of ways to verify a file exists before acting on it. What is
the cleanest and most efficient way to verify the existence of a file in a
directory, from a script run from cron?

my example: ls <file> && <execute program>

Is there a better way?

Michael C. Rock



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:24:22 EDT