Command line search for large files

From Tech-Wiki
Jump to: navigation, search

Back to Misc

This command below works like DIR /S, however it will list only the files bigger than 10MB.

forfiles /p C:\location /s /m *.* /c "cmd /c if @fsize gtr 10000000 echo @file"