Solved

help with perl script

Posted on 2013-10-24
2
312 Views
Last Modified: 2013-10-24
Hello,

Company I work for has a call center, and we record every call.  I need to transfer some of those calls to a different directory.  Everyday I am given the name of the files and path they are located in. What I would like to do is maybe have a txt file with path and the filename. Then run a perl script where it looks for the txt file, finds the files and copies them over to destination folder. Please help with writing a perl script that will be able to do that

THanks
0
Comment
Question by:iamaidiot
2 Comments
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 500 total points
ID: 39598182
Why not simply use a robo copy batch job to accomplish this? You could even do a "mirror" which will replicate anything into your source folder to the destination folder.

Example below...
robocopy <source> <destination> /MIR /W:20 /R:15 /LOG: \\servername\share\
robocopy "E:\test" \\server\public\test\ /MIR /W:20 /R:15 /LOG: \\server\public\logs

You can also use different switches if you like but it seems like a mirroring would be most suiteable for your situation.


Robocopy Switch parameters - http://technet.microsoft.com/en-us/library/cc733145.aspx


Will.
0
 

Author Closing Comment

by:iamaidiot
ID: 39598437
THank you
0

Featured Post

Why spend so long doing email signature updates?

Do you spend loads of your time carrying out email signature updates? Not very interesting are they? Don’t let signature updates get you down. Let Exclaimer Cloud - Signatures for Office 365 make managing email signatures a breeze.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
microsoft exchange 2010 3 35
cached or not 5 40
Mail flow stock ? Exchange 2016 3 11
Is it safe to Allow Malformed MIME? 5 18
Easy CSR creation in Exchange 2007,2010 and 2013
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now