• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

robocopy question/help

DawsonsDada

Senior member
I have heard of but never used "Robocopy" before and have the following question:

I need to move about 15K files from multiple directories to one single directory. The files all end with *tx.csv

I am not sure how to type the command in robocopy to have it recursively check each sub-folder for the files and then move it do another directory.

I do not need, or want, any of the sub-directories moved, only the files themselves.

I am thinking that the command would be:
robocopy <some source directory> <some destination directory> *tx.csv /mov

I know this command will move the files as I want but will it sift through all the sub-dirs in the source directory as well?

Thanks for the help and patience with my question(s)
 
I have heard of but never used "Robocopy" before and have the following question:

I need to move about 15K files from multiple directories to one single directory. The files all end with *tx.csv

I am not sure how to type the command in robocopy to have it recursively check each sub-folder for the files and then move it do another directory.

I do not need, or want, any of the sub-directories moved, only the files themselves.

I am thinking that the command would be:
robocopy <some source directory> <some destination directory> *tx.csv /mov

I know this command will move the files as I want but will it sift through all the sub-dirs in the source directory as well?

Thanks for the help and patience with my question(s)

I've got lazy in my old age . . . I may have simply overlooked RoboCopy for years, until I needed something like it to integrate with an overall backup strategy for my WHS-2011 server. And 20 years ago, I might have taught myself quickly how to use it from the command line.

But being lazy, I discovered there's a GUI for it:

https://technet.microsoft.com/en-us/magazine/2009.04.utilityspotlight.aspx

https://social.technet.microsoft.co...eb7-4452-bebf-02ed6518743e/microsoft-richcopy

So far, as I see it, it is possible to use a scheduling feature in the GUI to automate its use for custom backups. It allows you to save "options" files, and you might think this would include source and destination specifics, but I'm still trying to figure out how that could be done.

Since there's a directory-merge feature, it could also contain a solution for what you want to do -- I can't say for certain.
 
Back
Top