The set-directory-quota tool assigns a quota to a directory. It can also assign an unlimited amount of space. This tool may not be used on the root directories, such as /courses or /institution, but it can be used on folders within these areas. This tool also may not be used on the directory /library/eReserves.
set-directory-quota path to directory quota in MB
set-directory-quota /users/jsmith 30
To set an unlimited directory quota, use this tool and specify NONE.
set-directory-quota /users/jsmith NONE