why is this script failing?

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Tue Jul 15 06:56:49 UTC 2008


>
> 	why is this script not finding them?
>
>
> wav=/tmp/kde-kline/\*wav\*

why you put \ before *

>
> 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 at thought.org   www.thought.org  Public Service Unix
>        http://jottings.thought.org   http://transfinite.thought.org
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>


More information about the freebsd-questions mailing list