Command line search for large files

From Tech-Wiki
Revision as of 16:58, 10 November 2016 by Fabricio.Lima (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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"