I'm looking for some windows command line to scan through a directory which contains sub directories and moves files over a certain size to a new directory. I haven't been able to come up with a solution yet.
Say you want to move files that are at least 1000 bytes long to a new location that mimics the source folder hierarchy:
robocopy "sourcePath" "destinationPath" /s /min:1000 /mov
If you want to move the files to a single directory (no hierarchy), then you could use the following. But bear in mind that name collisions can result in one file overwriting another in the destination.
for /r "sourcePath" %F in (*) do @if %~zF geq 1000 move "%F" "destinationPath"
Double the percents if you use the command within a batch script.