Date: Mon, 14 Jul 2008 15:21:27 -0500 From: Reid Linnemann <lreid@cs.okstate.edu> To: Gary Kline <kline@thought.org> Cc: FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG> Subject: Re: why is this script failing? Message-ID: <487BB547.8020307@cs.okstate.edu> In-Reply-To: <20080714201241.GA22443@thought.org> References: <20080714201241.GA22443@thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Written by Gary Kline on 07/14/08 15:12>>
> 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
>
>
Could you give a listing of files you expect to be found and deleted by
this script?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?487BB547.8020307>
