Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 1997 20:15:27 +0200
From:      Gianmarco Giovannelli <gmarco@giovannelli.it>
To:        questions@freebsd.org
Subject:   test and multiple files ...
Message-ID:  <3.0.1.32.19970529201527.00697bd8@giovannelli.it>

next in thread | raw e-mail | index | archive | help

How it is possible use the test command with multiple files ?

i.e.


if [ -f /usr/tmp/src-2.2* ]; then
                 mv /usr/tmp/src-2.2.????.gz
/home/ftp/pub/FreeBSD/FreeBSD-2.2/ctm
fi      

seems not to work for me....

Thanks again...

                                 
Regards...
Gianmarco
"Unix expert since yesterday"

Home page: http://www2.masternet.it/~gmarco       
Server page: http://www2.masternet.it/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.1.32.19970529201527.00697bd8>