ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: Deleting old file
Date Fri, 04 Jul 2003 05:15:42 GMT
<delete>
    <fileset dir="">
        <date ... />
    </fileset>
</delete>


See the manual for "selector":
docs/manual/CoreTypes/selectors.html#dateselect



Jan


> -----Urspr√ľngliche Nachricht-----
> Von: Michael Finger [mailto:mfinger@SVTECHNOLOGY.com]
> Gesendet am: Donnerstag, 3. Juli 2003 22:37
> An: Ant Users List
> Betreff: Deleting old file
> 
> Hello,
> I'm trying to figure out the easiest way in ant to delete 
> files that are
> more then, say, five days old.
> Right now I'm doing some file backups and time stamping the 
> zips, but I
> need a way to delete or overwrite the oldest so the drive doesn't fill
> up. (Much like the behavior log4j, etc. has)
> 
> Thanks
> Mike
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message