[OMC] Testing for a files existence… problem.
OnMyCommand discussion
omc at abracode.com
Mon Dec 17 06:08:34 PST 2007
Hi,
I'm working on a shell script that is basically swapping files.
I'm looking for a way to tell what file is missing from a certain
directory and return it's name for use in a mv command.
Let's say I have a directory that should contain File1, File2, File3,
but File2 is missing. What command would be good to use to tell me
that File2 is missing?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://abracode.com/pipermail/omc_abracode.com/attachments/20071217/dd96416f/attachment.html
More information about the OMC
mailing list