By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,903 Members | 1,086 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,903 IT Pros & Developers. It's quick & easy.

Copy one file every one min to another folder

P: 2
i would like to transfer one file every 1 min from a folder containing some 100 files with the name "test_(number from 1-100 ).log" kindly suggest a script to do so.
i have tried some of the suggestions posted here but i didn't work for me. kindly help.
Mar 30 '09 #1
Share this Question
Share on Google+
3 Replies


KevinADC
Expert 2.5K+
P: 4,059
What do you mean by "transfer a file"?
Mar 30 '09 #2

P: 2
the folder contains 100 files and it is required to transfer one file every min to the other folder from this bunch.
Mar 31 '09 #3

KevinADC
Expert 2.5K+
P: 4,059
You mean move a file from one folder to another folder. For that you can use perls rename() function or the File::Copy module and its move() function. Lets see the code you have written so far to try and solve your programing requirements.
Mar 31 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.