filesize -package:basement -package:ghc-lib -package:pantry -package:LibZip package:directory

Obtain the size of a file in bytes.