[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No space left on device (28) but device is NOT full!



On Tue, Nov 05, 2013 at 09:41:58AM +0000, Jonathan Dowland wrote:
> On Tue, Nov 05, 2013 at 05:28:16AM +0100, Tazman Deville wrote:
> > find . -name 'popularity-*' | xargs rm -rf
> 
> Sorry, opportunity for a bit of golf. Find has a built-in for deleting
> files:
> 
> > find . -type f -name 'popularity-*' -delete
> 
> I'd also be rather wary of invoking rm -rf with the results of find
> output.
> 
This occurred to me, but I figured, since I was in /var/log,
and I was careful to use the name "popuarlity", it couldn't
really hose anything important.
Just log files.

./t
-- 
http://tazmandevil.info
taz hungry


Reply to: