[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: script help
- From: adrian kok <adriankok2000 yahoo com hk>
- To: "Community assistance, encouragement, and advice for using Fedora." <fedora-list redhat com>
- Subject: Re: script help
- Date: Tue, 2 Dec 2008 04:52:44 +0800 (CST)
I did try it and it doesn't work!
Thank you
--- James Kosin <jkosin beta intcomgrp com> wrote:
> adrian kok wrote:
> > Hi
> >
> > I have script to remove files but it can't work in
> > directory
> >
> >
> > ls *log | sort -r | sed -e 1,1d | xargs rm -f
> >
> > those folders are:
> >
> > Nov28-log
> > Nov29-log
> > Nov30-log
> >
> > Send instant messages to your online friends
> http://uk.messenger.yahoo.com
> >
> You have to change the rm command to use '-rf'
> instead of '-f'
> But, I'd make sure the script is doing what you want
> before modifying this.
>
> James
>
> > --
> fedora-list mailing list
> fedora-list redhat com
> To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines:
http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Send instant messages to your online friends http://uk.messenger.yahoo.com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]