filesize -package:hackage-security -package:http-conduit -package:tar-conduit -package:LibZip package:directory

Obtain the size of a file in bytes.