Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2008 11:42:10 +1000
From:      Norberto Meijome <freebsd@meijome.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: why is this script failing?
Message-ID:  <20080716114210.59372334@ayiin>
In-Reply-To: <20080715215024.GA82902@thought.org>
References:  <20080714201241.GA22443@thought.org> <20080715073651.P1638@wojtek.tensor.gdynia.pl> <20080715183500.GA76088@thought.org> <20080715190224.GC21840@Grumpy.DynDNS.org> <20080715215024.GA82902@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Jul 2008 14:50:24 -0700
Gary Kline <kline@thought.org> wrote:

> 	thanks for this clarification!  until yesterday, whe  you
> 	mmentioned blanks[whitespace], as id a song title, i  hadn't
> 	tought about songs like "Not Ready to Make Nice.ogg" e.g.
> 	I am not sure why these players store the  song in wav format
> 	without deleting the files, but when my limited /tmp is full,
> 	certain aps fail mysteriously.  with a fwdozen more line of code
> 	they could at least fail more gracefully.

you can always do 

find /tmp/kde-*/ -iname "*wav" -print0 | xargs -0 rm -vf

the advantage over doing using rm * or for * in ... is that if you have LOTS of files, the expanded list of files may be too much. find | xargs will deal with each file in turn. ( -print0 and -0 is to use NULL char as a list delimiter instead of space... ).

_________________________
{Beto|Norberto|Numard} Meijome

"A problem cannot be solved with the same type of thinking that created it."
  Albert Einstein

I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.



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