script help

Dave Ihnat dihnat at dminet.com
Mon Dec 1 23:42:47 UTC 2008


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




More information about the fedora-list mailing list