sit: Create StuffIt archives on Unix systems

https://news.ycombinator.com/rss Hits: 11
Summary

sit Create StuffIt archives on Unix systems Summary sit is a command-line tool that can create compressed StuffIt 1.5.1-compatible archives. The archive may contain both files and folders. Resource forks and metadata are preserved, and the resulting archive file can be extracted with StuffIt or StuffIt Expander on a classic Mac OS system, as well as with The Unarchiver on a modern system. Run the tool in Terminal with no arguments to see its options. Introduction The sit program was originally written in 1988 and posted to Usenet's comp.sources.mac newsgroup by Tom Bereiter. The program assumed that it was running on a Unix system where each input file either had no resource information at all, or was split into 3 binary files named with .data, .rsrc, and .info extensions. This modern update of sit takes into account the fact that macOS has been a Unix system since 2001, and that input files may have native resource forks. The program has been enhanced to accept either files or directories as input, and will archive the contents of directories recursively. Its primary purpose is to create a portable container that can be safely transferred from a modern system to a classic Mac computer or emulator. Usage sit [-v] [-u] [-T type] [-C creator] [-o dstfile] file ... Creates a StuffIt 1.5.1-compatible archive from one or more files (or folders) specified as arguments. A combination of files and folders can be specified. The default output file is "archive.sit" if the -o option is not provided. Use -v , -vv , or -vvv to see increasingly verbose output. Files without a resource fork are assigned the default type TEXT and creator KAHL , identifying them as a text file created by THINK C. You can override the default type and creator with the -T and -C options. The -u option converts all linefeeds ( ' ' ) to carriage returns ( '\r' ) in the data fork of the file. This is really only useful when archiving plain Unix text files which you intend to open in a classic Mac applica...

First seen: 2025-11-23 13:18

Last seen: 2025-11-23 23:19