Copy one file every one min to another folder

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amitjoel
    New Member
    • Mar 2009
    • 2

    Copy one file every one min to another folder

    i would like to transfer one file every 1 min from a folder containing some 100 files with the name "test_(numb er 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.
  • KevinADC
    Recognized Expert Specialist
    • Jan 2007
    • 4092

    #2
    What do you mean by "transfer a file"?

    Comment

    • amitjoel
      New Member
      • Mar 2009
      • 2

      #3
      the folder contains 100 files and it is required to transfer one file every min to the other folder from this bunch.

      Comment

      • KevinADC
        Recognized Expert Specialist
        • Jan 2007
        • 4092

        #4
        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.

        Comment

        Working...