foldersize(
PATH
)

The foldersize( function returns the total size of all the files within a folder (including any subfolders).


Parameters

This function has one parameter:

path – the path to the folder.


Description

This function returns the total size of all the files within a folder (including any subfolders). The size is calculated in bytes.

foldersize("~/Pictures") ☞ 32819716

Note: This function can be slow if there are a lot of files in the specified folder.


See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0