Re: Scripting: Check existence of file on remote system

From: Pugliese, Edward (s11018@SLK.COM)
Date: Mon Jul 22 2002 - 12:20:05 EDT


Do you have any third party scheduling tools ? We use control-M and it has
a file-watcher function. When a file is created it will start a process.

> >
> > > -----Original Message-----
> > > From: IBM AIX Discussion List
> > [mailto:aix-l@Princeton.EDU]On Behalf Of
> > > Green, Simon
> > > Sent: Monday, July 22, 2002 9:13 AM
> > > To: aix-l@Princeton.EDU
> > > Subject: Scripting: Check existence of file on remote system
> > >
> > >
> > > I'm writing a Korn Shell script and want to check whether a
> > specific file
> > > exists on a remote server. i.e. rsh remote_server some-command
> > >
> > > Is there a neater way of doing this than ls and grep? (I don't
> > > want to have
> > > a script running on the remote server.)



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:05 EDT