windows command line to move files over a certain size

Solution 1:

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.