6.2.8.2 chfile
Change file attributes.
Purpose
The chfile command changes attributes of a file.
Syntax
chfile filename --attributes attribute=value[,attribute=value] ...Command Options
The options for the chfile command are:
-
filename: Specifies the name of the file you are changing.
-
--attributes: Specifies attributes to change.Use the
describe chfilecommand to view details about all the file attributes you can modify withchfile.
Examples
Example 6-75 Change a File
The following example shows changing the size of the file named
x to 100 KB.
@MYDATA/> chfile x --attributes size=100k
File altered.
@MYDATA/> ls -l
Total 1
100.0k 29 Jun 21:58 x
Parent topic: File Management