"..The next step is to rename the file ..."
then check rename function
"..and copy it to a new location."
you can use File::Copy
You may also want to check File::Find, to easily transverse a directory tree.
If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Search for a file created today and rename it by appending the current date and copy it to a different location
by karlgoethebier (Abbot) on Nov 23, 2012 at 07:54 UTC | |
Re^2: Search for a file created today and rename it by appending the current date and copy it to a different location
by perlgb (Initiate) on Nov 27, 2012 at 04:11 UTC | |
by afoken (Chancellor) on Nov 27, 2012 at 05:11 UTC |
In Section
Seekers of Perl Wisdom