Automatically move files from Windows share

Hello Experts

Can someone please let me know if its possible to write a batch file (or some script) that will automatically move files from a file share into a folder on my C:\.

For example in the image below you can see a file share called \\wdmycloud and the folder in the share called Riverbed. I would like move files in the Riverbed folder to a folder on my C:\
module
Any help will be greatly appreciated.

Cheers

Carlton
LVL 1
Member_2_7966113Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bill PrewCommented:
Do you want to just create an exact copy of that folder in say C:\Riverbed?  Or is there anything fancy going on like merging, overwriting, etc?

Do you want to just do this one time, or refresh periodically?

Certainly ROBOCOPY can do the basic copying job quite nicely in a single command line, take a look and see if it might meet your needs.



»bp
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Member_2_7966113Author Commented:
Hi Bill

I would like the contents of the items in the Riverbed folder to be copied to  folder of my choosing.

I would like the copied contents to be over written with new content.

I would like the Riverbed folder to be monitored for new content and when new content is discovered the content to be copied over to folder of my choosing

I hope that explains my requirement.

Cheers
0
Aaron TomoskySD-WAN SimplifiedCommented:
syncback has a periodic running mirror, might be the easiest way to solve this
https://www.2brightsparks.com/syncback/compare.html

Robocopy scripts will do it, but I get the feeling you want something a bit more automated with a nice gui.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

NVITCommented:
If you are interested in a GUI type tool, a free, popular one worth looking at is FreeFileSync, which helps you synchronize files and folders... It has  Versioning and Batch jobs... It's easy to use... It is designed to save your time setting up and running data backups while having nice visual feedback along the way... its main purpose is to speed up backup operations by examining the differences between source and target folders... without using any cloud services...
0
Member_2_7966113Author Commented:
Hi NVIT,

That sounds like a really nice solution, unfortunately, I don't think the company will allow me to install any software, although I will try. I also think the solutions suggested by Aaron and Bill are pretty cool too
0
Member_2_7966113Author Commented:
Hi Experts,

I'm going to focus on Robocopy.

Can someone please let me know if there are any examples showing how copy files at regular intervals as shown in the image below:

netdom
0
Member_2_7966113Author Commented:
Fantastic. Works like a dream
0
Aaron TomoskySD-WAN SimplifiedCommented:
Personally I like to just add the .bat as a scheduled task. That way you have full visibility and control (and don't need admin rights)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
File Transfer

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.