Hi
Thank you for your help. This solves the problem!!!
The problem was to find all element that did not have versions since a
specified date.
Thanks
Ruth
----- Original Message -----
From: Peter Connors <Peter.Connors@EBay.Sun.COM>
To: <mosachor@tadsys.com>
Sent: Monday, February 07, 2000 7:34 PM
Subject: Re: [cciug] find problem
> Mosacho,
>
> I sent this to Ruth the other day, don't know why you didn't get it...
>
>
> I don't think there's a way to do it directly from the CLI...
>
> Here's a small script to do it...replace the top line, with your path to
Perl (atria Perl
> works).
> You can also add the -all option into the @filelist line, but it was
taking too
> long to run on my VOB...it's pretty big. :)
>
> Also, if you're on NT, you'll have to NT'ize this script...
>
> ----------- Cut -----------------------------------------------------
> #!/usr/atria/bin/Perl
>
> # Usage: find_novers_since <date>
> # Where <date> = ClearCase friendly date string.
> #
>
> $_ct = "/usr/atria/bin/cleartool";
>
> @filelist = `$_ct find . -print`;
>
> for $elem ( @filelist ) {
> chop $elem;
> unless ( `$_ct find $elem -type f -version
> "{created_since($ARGV[0])}" -print` ) {
> print "$elem\n";
> }
> }
>
> ------------ Cut ----------------------------------------------------
>
> |From: "Mosacho" <mosachor@tadsys.com>
> |To: "'cciug@rational.com'" <cciug@Rational.Com>
> |Subject: [cciug] find problem
> |Date: Sat, 5 Feb 2000 21:36:15 -0000
> |MIME-Version: 1.0
> |X-Priority: 3
> |X-MSMail-Priority: Normal
> |X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.22
> |X-Majordomo-Taboo: cciug
> |
>
>
>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This archive was generated by hypermail 2b29 : Sun May 06 2001 - 00:23:28 EDT