I am in the process of configuring a robocopy script, but I'm having some trouble finding a method to achieve exactly what I need.
My eventual goal is that I need it to parse through a directory tree and pull all folders named EXPORT and their contents, which should always JPG or BMP files. I need to move these EXPORT folders and their contents to a new directory tree while maintaining the parent folder structure and skipping other files in the parent directories.
This is roughly the structure: E:\Y2007\M10\D10\FILE**\EXPORT\*.JPG Folder tree needs to be identical, but the only data files will be those contained in these EXPORT folders. My difficulty with my current script is that I can't get robocopy to skip JPG files outside of these EXPORT folders. Maybe there is some syntax that allows me to say "skip all files not contained in a folder named EXPORT"?
If there is another utility/method that does this better, let me know.

How about using synctoy?
http://www.microsoft.com/windowsxp/u...o/synctoy.mspx
Ben
I looked at using SyncToy. The problem with SyncToy is that there is no way to systematically filter out files except by including a single file type. I can manually uncheck folders to pull from, but I'm dealing with 10,000+ folders and about 100 GB of data to move.
I think my silver bullet on this problem lies in the ability to pull only from folders named EXPORT, or to pull from folders only at a certain sublevel (leaving upper levels alone).
Xcopy ?
Filter files by date possibly ?
You can use the touch command [ Part of a resource pack I think ] - I did something similar [ with a Xcopy command ] to backup a media database which is now running Rsync from two freenas boxes ]
http://www.codeproject.com/tools/touch_win.asp
I do have a GUI prog which does a touch type command - let me know if you want it - [ it was free I think if memory serves me right ]
There are currently 1 users browsing this thread. (0 members and 1 guests)