kilaru rajeev wrote:
> Hi,
Hello,
> I got some files in $BNY_DOWNLOAD which is a directory in windows. Now i
> have to identify most recent one in that file and
> have to move it $BNY_DATA directory it is also a directory. To identify the
> most recent file I used sort command and sorted it
> by
Message-
From: kilaru rajeev [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 10:44 AM
To: beginners@perl.org
Subject: Copying files in windows from one directory to the other
Hi,
I got some files in $BNY_DOWNLOAD which is a directory in windows. Now
i
have to identify most recent one in
On 7/12/06, kilaru rajeev <[EMAIL PROTECTED]> wrote:
Now I want to move this file from this $BNY_DOWNLOAD
to $BNY_DATA directory.
You may be able to simply use rename() to do what you want, but it
sounds as if you might want to use the File::Copy module, and its
move() function. Hope this help
Hi,
I got some files in $BNY_DOWNLOAD which is a directory in windows. Now i
have to identify most recent one in that file and
have to move it $BNY_DATA directory it is also a directory. To identify the
most recent file I used sort command and sorted it
by using -M and and space ship operators.