NAME

chsize - change size of file

SYNOPSIS

chsize size file1 [ file2 ...]

DESCRIPTION

Changes the size of each named file. size specifies the number of 512 byte blocks to allocate the file..

If a file is currently smaller than size, chsize adds the required number of blocks. If a file is currently larger than size and its contents will fit into size blocks, it it truncated to size. If size is smaller than the number of blocks required by the contents of the file, file is only truncated to the minimum size that will accommodate the contents of the file.

SEE ALSO

chmod(1F) , create(1F) , ls(1F)