d5bfaa510a
Include paths are updated to include the directory. It seems that CodeWarrior will search for include files recursively, which means that "error.h" may resolve to the wrong file (there are two). I am unsure of the rules CodeWarrior uses to find header files. Support for older versions of Universal Interfaces has been added. The project code has been reworked after thoroughly reviewing Inside Macintosh: Files. It is not complete, but it compiles, and the behavior of the Save / Save As commands have been thought out more carefully. |
||
---|---|---|
.vscode | ||
bazel | ||
charmap | ||
convert | ||
docs | ||
gen | ||
lib | ||
macos | ||
scripts | ||
sync | ||
syncfiles.xcodeproj | ||
.bazelrc | ||
.clang-format | ||
.gitignore | ||
.header | ||
BUILD.bazel | ||
convert_line_endings.c | ||
convert_test.c | ||
convert.c | ||
convert.h | ||
copy.c | ||
defs.h | ||
file.c | ||
Formats.md | ||
LICENSE.txt | ||
mac_from_unix_data.h | ||
mac_from_unix.c | ||
mac_to_unix.c | ||
Makefile | ||
README.md | ||
sync.c | ||
test.sh | ||
util.c | ||
WORKSPACE |
SyncFiles
SyncFiles is being written, it is currently unusable.
SyncFiles is a tool which synchronizes files between classic Mac OS systems and modern systems. You can use it to copy files between a classic Macintosh development environment (e.g. MPW or CodeWarrior running on Mac System 7) and a modern Unix environment (e.g. a Basilisk II host system or AppleShare volume). SyncFiles will convert line endings, convert character encodings, preserve resource forks, and set file type and creator codes.
Sharing Files
You still have to figure out how to transfer files.
-
Networked Macs running Mac OS 9 or earlier: Use Netatalk to run a AFP file server on a different computer on the network. Connect to the file server using the Chooser. Use SyncFiles to transfer files between the local hard drive and the file server. Note that Netatalk may require special configuration in order to work with old Macs.
-
Networked Macs running Mac OS X: In addition to using AFP, you can also use a Samba file server. This will be easier to set up than Netatalk. Use SyncFiles to transfer files between the local hard drive and the file server. There is a command-line version of SyncFiles for Mac OS X.
-
Basilisk II or SheepShaver virtual machines: Use SyncFiles to transfer files between the VM and the host using the “host directory tree”. This requires either running Mac OS 7.6 or an older version of Mac OS with the “File System Manager 1.2” extension.
License
SyncFiles is distributed under the terms of the MIT license. See LICENSE.txt for details.