Re: Handling OLD files
- From: Jim Gibson <jimsgibson@xxxxxxxxx>
- Date: Thu, 27 Mar 2008 18:29:24 -0700
In article
<f535c762-80c9-4b69-b04f-f7fe399b9591@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Anders <anders.u.persson@xxxxxxxxx> wrote:
Hi!
I am looking for a way of moving files older than a date,
I am need this in a script for moving/erase old files from a
production machine
Any tips where to read more about this i gratefull, i can't find any,
(it is on a Windows server) and i would like to stick to PERL standard
package
(ActiveState) if it is possible
Look at Perl's stat function (perldoc -f stat), which gives you file
modification times, and also look at the file test operators -M, -A,
and -C (see perldoc -f -X), which return file "ages" in floating-point
days.
--
Jim Gibson
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
.
- References:
- Handling OLD files
- From: Anders
- Handling OLD files
- Prev by Date: Re: how to repeat non-atom patterns
- Next by Date: Re: Handling OLD files
- Previous by thread: Re: Handling OLD files
- Next by thread: Re: Handling OLD files
- Index(es):
Relevant Pages
|
|