filesize -package:basement -package:ghc -package:directory -package:hackage-security

Size of the file in bytes. If this file is a symbolic link the size is the length of the pathname it contains.
Size of the file in bytes. Does not follow symlinks
File size
Get size of a file in the archive.
File size.
File size in bytes
File size in bytes. Read-only attribute represented as a Natural.
-s
Get size of a file in the archive (by index).
For a handle hdl which attached to a physical file, hFileSize hdl returns the size of that file in 8-bit bytes.
hSetFileSize hdl size truncates the physical file with handle hdl to size bytes.
Truncates the file down to the specified length. If the file was larger than the given length before this operation was performed the extra is lost. Note: calls truncate.
Truncates the file down to the specified length. If the file was larger than the given length before this operation was performed the extra is lost. Note: calls truncate.