Be carfull the * will expand before you want it to, escape it out with a
\* also the ; at the end needs to be escaped out also, \;
On Thu, 2 Aug 2001, Piotr Grabowski wrote:
> On Thu, 2 Aug 2001, LinuxKH wrote:
>
> Well maybe:
> $ find / -name messages.log.*.gz -ctime date_in_datetime_format -exec rm
> {} ;
>
>
>
> >
> > Hi all,
> >
> > How can I delete files with specificed date ?
> >
> > E.g: I want to delete only 'messages.log.*.gz' of the year 2000.
> >
> > TIA.
> > PS: "man rm" can't help me.
> >
> > LinuxKH
> > -------
> > "Please, correct me if I'm wrong. THANKS!"
> >
> >
> >
> > _______________________________________________
> > Seawolf-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/seawolf-list
> >
>
> --
> Piotr Grabowski
>
> Portale Profesjonalne
> 2p.pl sp. z o.o.
>
>
>
>
> _______________________________________________
> Seawolf-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/seawolf-list
>
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list