Date: Wed, 29 Aug 2012 21:59:17 +0200 From: Jos Chrispijn <ports@webrz.net> To: freebsd-questions@FreeBSD.org Subject: Empty logfiles Message-ID: <503E7495.7050306@webrz.net>
next in thread | raw e-mail | index | archive | help
Stupic question: I have a directory with 120 logfiles (extension *.log). Can someone tell me how I can empty these logfiles in one command? I thought 'echo > *.log' would work, but no way K-) thanks Jos Chrispijn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?503E7495.7050306>