[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] rcp using MacPerl?



Chris Nandor writes:
|Archive::Tar should work, no?

Well, sort of. It doesn't understand Mac paths, and has no facility for
converting text file line endings or time stamps between Unix and Mac
formats. However, it does have some lower level calls, so I use it by
reading the file myself, converting line endings as necessary, converting
the path, and passing them to the add_data method.

The path and conversion stuff would be fairly easy to fix, but it still
has a fundamental problem--it builds the tar file in memory. To really
work on the Mac, that would have to be changed as well, and that's not
trivial to fix.

So why do I use it? It's the only way I've found to take a list of files
scattered throughout a much larger directory structure and turn out a
tar file, without selecting all the files by hand in an Open dialog.

Brian

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch