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

Re: script help



On Mon, Dec 01, 2008 at 04:10:50PM -0500, RGH wrote:
> The problem is that you're getting things like "Nov28-log:" back, with
> the trailing colon. Try this:
>    ls -1d *log | xargs rm -Rf
> Note that the first option is a one, not an el.

Or for that matter, just "echo *log" instead of ls.
--
	Dave Ihnat


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