MacOSX::File
is a perl module that allows you to get and
set HFS+ file attributes. And psync
is a perl script
that uses MacOSX::File to implement inclemental backup and restore.
MacOSX::File
in details, check
http://search.cpan.org/search?dist=MacOSX-File
.
There are two methods to install this module. CPAN is easier and more recommended.
sudo perl -MCPAN -e shell
install MacOSX::FileAnd CPAN module will download, compile, test and install the module all for you.
If you have a problem using CPAN, you can still install it as follows.
tar zxvf MacOSX-File-x.xx.tar.gz cd MacOSX-File-x.xx perl Makefile.PL make make test sudo make install
I have several reports that the current version does not compile on Panther (Mac OS X v10.3). emoy@apple.com has investigated the problem and submitted me a patch. I will release Panther-compatible version eventually but for the time being, use the patch below. Thank you, emoy!
tar zxvf MacOSX-File-x.xx.tar.gz cd MacOSX-File-x.xx curl -O http://www.dan.co.jp/cases/macosx/panther.pat patch -p1 < panther.pat perl Makefile.PL make CC=gcc2 make test sudo make install
Murali Karthick Vadivelu has reported that CC=gcc2 is required to build properly. Thank you for your report.
Very unfortunately I do not have an access to Panther release yet. Plus I am extremely busy recently. I will eventually release an official Panther-ready version so please be patient
Is now available here as
http://www.dan.co.jp/cases/macosx/MacOSX-File-0.66.dmg
Just double-click the .pkg file in the disk image and follow the instruction.
CAVEAT: This package does not work with Panther (Mac OS X 10.3)
psync
(and MacOSX::File
) has to offer,
go get one!.