Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2008 07:37:02 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Gary Kline <kline@thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: why is this script failing?
Message-ID:  <20080715073651.P1638@wojtek.tensor.gdynia.pl>
In-Reply-To: <20080714201241.GA22443@thought.org>
References:  <20080714201241.GA22443@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> 	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@thought.org   www.thought.org  Public Service Unix
>        http://jottings.thought.org   http://transfinite.thought.org
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>



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