https://github.com/uliwitness/xcopyfile
A HyperCard XCMD for copying a file from one place to another, optionally moving the resource fork into the data fork or restoring it so classic MacOS source code can be stored on non-Mac file systems.
https://github.com/uliwitness/xcopyfile
retrocomputing
Last synced: about 1 month ago
JSON representation
A HyperCard XCMD for copying a file from one place to another, optionally moving the resource fork into the data fork or restoring it so classic MacOS source code can be stored on non-Mac file systems.
- Host: GitHub
- URL: https://github.com/uliwitness/xcopyfile
- Owner: uliwitness
- License: mit
- Created: 2022-07-16T21:57:37.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-16T23:06:59.000Z (almost 4 years ago)
- Last Synced: 2025-01-27T20:43:29.933Z (over 1 year ago)
- Topics: retrocomputing
- Language: C
- Homepage:
- Size: 111 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xCopyFile
A HyperCard XCMD for copying a file from one place to another, optionally moving the resource fork into the data fork or restoring it so classic MacOS source code can be stored on non-Mac file systems.
# Prerequisites
To build this, you need
* CodeWarrior 10 Gold for Macintosh System 7.0
* A Mac to run it on (or an emulator like Basilisk II or SheepShaver)
* StuffIt 5 to unpack the `.sit` files
* The HyperCard stack in the `CheapVersionControl.sit` archive in this repository
to copy the `.rsrc` files back from the data fork into the resource fork, and
to convert the source files back from UTF8 with LF to MacRoman with CR line endings.
(Its "Revert" button can be used to do this)