psetfinfo -- SetFile, implemented as perl script
pgetfinfo [option...] path...
When no switch is set, all avaible information on the path specified is printed to STDOUT.
Prints attributes only. When no attrib-letter is specified, it prints all attributes. If spefifed, it prints "1" if any one the attribute is set or "0" otherwise.
Attrib-letters are as follows;
A Alias file V Invisible* B Bundle S System (name locked) T Stationary C Custom icon* L Locked I Inited* N No INIT resources M Shared (can run multiple times) E Hidden extension* D Desktop*
Note: Options/attributes marked with an asterisk (*) are allowed with folders
sets type
sets creator
sets creation date. use period for current time.
sets content modification date. use period for current time.
Dan Kogai <dankogai@dan.co.jp>
File::Copy "Developer/Tools/GetFileInfo" "Developer/Tools/SetFile"
Copyright 2002-2005 Dan Kogai <dankogai@dan.co.jp>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
You forgot a '=back' before '=head1'
To install MacOSX::File, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MacOSX::File
CPAN shell
perl -MCPAN -e shell install MacOSX::File
For more information on module installation, please visit the detailed CPAN module installation guide.