file
Displays the element type that ClearCase® would use for a file
Applicability
Product |
Command type |
---|---|
ClearCase |
cleartool subcommand |
Platform |
---|
UNIX |
Linux |
Windows |
Examples
- Display the element type that would
be used for a view-private HTML file.
cleartool file foo.html
foo.html: html - List all possible element types for
a view-private HTML file.
cleartool file –all foo.html
foo.html: html_source html web_file source text_file - On a UNIX or Linux system, display the element type that would be
used if the file were converted to an element in the VOB /vobs_dev.
cleartool file –invob /vobs_dev foo.html
foo.html: html_source - On a Windows system, display the element type that would be used if
the file were converted to an element in the VOB \dev.
cleartool file –invob \dev foo.html
foo.html: html_source
UNIX and Linux files
ccase-home-dir/config/magic/default.magic
Windows files
ccase-home-dir\config\magic\default.magic