Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laggingreflex/df28777a34d61e9f16dbb5b6e8120a81 to your computer and use it in GitHub Desktop.
Save laggingreflex/df28777a34d61e9f16dbb5b6e8120a81 to your computer and use it in GitHub Desktop.
SpaceSniffer Script for exporting grouped-by-folder file report but with only folders >10GB & files >100MB
if {<%isfile%>} == {true} ? {
if {<%disksizebytes%>} > {100000000} ?
{ [{leftpad{<%disksize%>}{ }{8}}] <%file%>{&br} }
}:{
if {<%containsfiles%>} == {true} ? {
if {<%disksizebytes%>} > {10000000000} ?
{ {&br}<%pathfile%> [<%disksize%>]{&br} }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment