syzer - find large files in directories
May 20, 2016 7:32 AM Subscribe
syzer - find large files in directories
Have you ever wanted to quickly find the largest files within a complex directory, but have trouble remembering the syntax for the
It has some flexibility, including optional regex filename filtering, max and/or min file size filtering, file type (directory vs. regular) filtering, and a few display options. It certainly doesn't do anything new that can't be done in other ways, but I've found it to be a useful shortcut for myself, so I thought I would share it.
It's written in python, using only the standard library. Just plunk it in your /usr/local/bin folder with appropriate permissions if you're using a Mac, or do the equivalent on your OS.
Have you ever wanted to quickly find the largest files within a complex directory, but have trouble remembering the syntax for the
find
command? This might come in handy.
syzer
is a little command line utility I wrote in python with the basic purpose of identifying the largest files within an arbitrary directory structure. By default, it takes a directory and outputs out the name and size of the 10 largest files in that directory.It has some flexibility, including optional regex filename filtering, max and/or min file size filtering, file type (directory vs. regular) filtering, and a few display options. It certainly doesn't do anything new that can't be done in other ways, but I've found it to be a useful shortcut for myself, so I thought I would share it.
It's written in python, using only the standard library. Just plunk it in your /usr/local/bin folder with appropriate permissions if you're using a Mac, or do the equivalent on your OS.
Role: creator
My pleasure. I'm thrilled that someone other than myself might actually use something I wrote!
posted by Salvor Hardin at 7:33 PM on May 24, 2016
posted by Salvor Hardin at 7:33 PM on May 24, 2016
« Older A pun generator... | A Field Guide to Freelancer Fi... Newer »
posted by michaelh at 2:52 PM on May 24, 2016