Difference between revisions of "Command line search for large files"

From Tech-Wiki
Jump to: navigation, search
(Created page with " forfiles /p C:\location /s /m *.* /c "cmd /c if @fsize gtr 10000000 echo @file"")
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Category:Microsoft]]
 +
'''[[Microsoft#Misc|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"
 
  forfiles /p C:\location /s /m *.* /c "cmd /c if @fsize gtr 10000000 echo @file"

Latest revision as of 16:58, 10 November 2016

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"