About this Mac - Storage information on terminal
Yeah try using something like this:

du /Application
du /apps


etc

Just use the path to where the files/folders of interest are. To find them you can use the grep/find and cat the results into a txt file or simply pipe the results into your du. Depends on where all your files/folders of interest are.