Hello Shawn,
Friday, November 30, 2001, Shawn <[EMAIL PROTECTED]> wrote:
>> @result= `find . -newerct \'3 days ago\' -maxdepth 1 -exec rm \{\} \\;`;
S> I guess I have to ask, what is this command? -newerct? I get the following
S> when running this line:
S> find: -newerct: unknown option
> @result= `find . -newerct \'3 days ago\' -maxdepth 1 -exec rm \{\} \\;`;
I guess I have to ask, what is this command? -newerct? I get the following
when running this line:
find: -newerct: unknown option
Shawn
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Hello Roiy,
Friday, November 30, 2001, Zysman, Roiy <[EMAIL PROTECTED]> wrote:
>> Hi All,
>> Why not make a little challenge ..
>> Lets see who can write the most lean ,mean , elegant , powerful, poetic
>> (but most important) _Shortest_, script that cleans from a directory
>> files that are at
> Hi All,
> Why not make a little challenge ..
> Lets see who can write the most lean ,mean , elegant , powerful, poetic
> (but most important) _Shortest_, script that cleans from a directory
> files that are at least 3 days old.
> Good luck all,
> You're welcome to pick who you think is the wi
p; (-M $_ > .03124)) {
unlink $_;
}
}
How's that for a beginner? :)
-Bob
-Original Message-
From: Zysman, Roiy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 1:19 PM
To: '[EMAIL PROTECTED]'
Subject: a beginners challenge
> Hi
He didn't specify perl. So I guess this works.
-Original Message-
From: Bob Showalter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 1:37 PM
To: 'Zysman, Roiy'; '[EMAIL PROTECTED]'
Subject: RE: a beginners challenge
> -Original Messa
On Wed, Nov 28, 2001 at 08:19:26PM +0200, Zysman, Roiy wrote:
> > Lets see who can write the most lean ,mean , elegant , powerful, poetic
> > (but most important) _Shortest_, script that cleans from a directory
> > files that are at least 3 days old.
perl -e 'chdir(shift @ARGV); sleep(3*86_400);
> -Original Message-
> From: Zysman, Roiy [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 28, 2001 1:19 PM
> To: '[EMAIL PROTECTED]'
> Subject: a beginners challenge
>
>
>
> > Hi All,
> > Why not make a little challenge ..
> >
Sound like an assignment for school
Etienne
Mike Rapuano wrote:
>
> Huh, sounds fishy...
>
> Good try;)
>
> M.
>
> -Original Message-
> From: Zysman, Roiy [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 28, 2001 1:19 PM
> To: '[EM
TECTED]>, <[EMAIL PROTECTED]>
Date: Wed, 28 Nov 2001 13:24:44 -0500
Subject: RE: a beginners challenge
> Huh, sounds fishy...
>
> Good try;)
>
> M.
>
> -Original Message-
> From: Zysman, Roiy [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 28, 2
Huh, sounds fishy...
Good try;)
M.
-Original Message-
From: Zysman, Roiy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 1:19 PM
To: '[EMAIL PROTECTED]'
Subject: a beginners challenge
> Hi All,
> Why not make a little challenge ..
> Lets see who can
> Hi All,
> Why not make a little challenge ..
> Lets see who can write the most lean ,mean , elegant , powerful, poetic
> (but most important) _Shortest_, script that cleans from a directory
> files that are at least 3 days old.
> Good luck all,
> You're welcome to pick who you think is the win
12 matches
Mail list logo