Robocopy only files with no extension?
Posted on 2009-05-09
I need to move only files with specified extensions from one drive to another while preserving tree structure. No problem, I know how to do that with Robocopy.
But I also need to move only files that have no extension. I can't figure out how to specify files with no extension. I've tried every combination of include *. and exclude *.* in the robocopy command line that I can think of, but haven't found a way to copy ONLY files with no extension.
This despite the fact that the command
very nicely lists only files without extensions.
I'm trying to reduce the size of a data collection, presently at 600GB and 2.2 million files by moving out file types I don't need to index, because my indexing tool (x1) is grinding to a halt at about 1.2 million files.
If this can't be done with robocopy, I'd appreciate pointers to a utility which can. I'd also be open to a utility which could rename all files without extensions from *. to *.noext and could do so all the way thru a huge directory tree.