Date: Mon, 14 Jul 2008 13:12:47 -0700 From: Gary Kline <kline@thought.org> To: FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG> Subject: why is this script failing? Message-ID: <20080714201241.GA22443@thought.org>
next in thread | raw e-mail | index | archive | help
people, for reasons i don't understand completely, i wind up with *wav* files in my /tmp/kde-kline/* directory. plus othr misc junk files. why is this script not finding them? wav=/tmp/kde-kline/\*wav\* if [ -s $wav ] then echo "Wav files found"; ls -l $wav; /bin/rm ${wav}; else echo "No wav files in /tmp/kde-kline"; exit 0; fi do i have to cd to /tmp/kde-kline and examine every file in a loop? tia, gary -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080714201241.GA22443>