-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathsetfctypes.1
executable file
·60 lines (59 loc) · 2.29 KB
/
setfctypes.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
.Dd Wed Mar 31 2003 \" DATE
.Dt setfctypes 1 \" Program name and manual section number
.Os Darwin
.Sh NAME \" Section Header - required - don't modify
.Nm setfctypes
.\" The following lines are read in generating the apropos(man -k) database. Use only key
.\" words here as the database is built based on the words here and in the .ND line.
.\" Use .Nm macro to designate other names for the documented program.
.Nd set heritage MacOS File and Creator types.
.Sh SYNOPSIS \" Section Header - required - don't modify
.Nm
.Op Fl vhs
.Op Fl f filetype
.Op Fl c creator
.Ar file ...
.Sh DESCRIPTION \" Section Header - required - don't modify
.Ar setfctypes
is a utility for setting the heritage MacOS File Type and Creator Type of files. It's very simple to use and is about
twice as fast as Apple's SetFile(1) command. An example of typical usage would be:
.Bl -tag -width -indent
.It setfctypes -f TEXT -c ttxt myfile.txt
.El \" Ends the list
.Pp
It is not neccesary to specify both the -f and -c options.
.Pp
.Ar setfctypes
accepts the following options:
.Pp
.Bl -tag -width indent \" Differs from above in tag removed
.It Fl v \"-a flag as a list item
Prints version and author and then exits
.It Fl h
Prints help
.It Fl s
Silent mode. No errors or problems are reported.
.It Fl c
Followed by a four character string specifying Creator type.
.It Fl f
Followed by a four character string specifying File type.
.El \" Ends the list
.Pp
Please direct queries to Sveinbjorn Thordarson <[email protected]>.
.Pp
.Sh FILES \" File used or created by the topic of the man page
.Bl -tag -width "/usr/local/bin/setfctypes" -compact
.It Pa /usr/local/bin/setfctypes
.Sh SEE ALSO
.\" List links in ascending order by section, alphabetically within a section.
.\" Please do not reference files that do not exist without filing a bug report
.Xr lsmac 1 ,
.Xr SetFile 1 ,
.Xr GetFileInfo 1 ,
.Xr setlabel 1 ,
.Xr seticon 1 ,
.Xr setfcomment 1 ,
.Xr setfflags 1 ,
.Xr setsuffix 1
.\" .Sh BUGS \" Document known, unremedied bugs
.\" .Sh HISTORY \" Document history if command behaves in a unique manner