Dan Kogai > MacOSX-File > psetfinfo

Download:
MacOSX-File-0.71.tar.gz

Annotate this POD

CPAN RT

New  6
Open  1
View/Report Bugs
Source  

NAME ^

psetfinfo -- SetFile, implemented as perl script

SYNOPSIS ^

pgetfinfo [option...] path...

DESCRIPTION ^

When no switch is set, all avaible information on the path specified is printed to STDOUT.

-a <attrib-letter>

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

-t type

sets type

-c creator

sets creator

-d [dd/mm/yy[yy hh:mm:ss [am|pm]] .

sets creation date. use period for current time.

-m [dd/mm/yy[yy hh:mm:ss [am|pm]] .

sets content modification date. use period for current time.

AUTHOR ^

Dan Kogai <dankogai@dan.co.jp>

SEE ALSO ^

File::Copy "Developer/Tools/GetFileInfo" "Developer/Tools/SetFile"

COPYRIGHT ^

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.

syntax highlighting: