Commit Graph

15 Commits

Author SHA1 Message Date
Elliot Nunn 8dd4181d36 Log corrupt resource forks 2022-09-01 20:20:49 +08:00
Elliot Nunn e2cc5b1280 Add support for Aliases (as symlinks) 2020-01-19 15:03:27 +08:00
Elliot Nunn fb493a154f Dump files to native FS more consistently
Specifically:

- A data fork dump file will always exist
- A resource fork dump file will exist iff there are any bytes in that
  fork (but this dump file may be empty)
- A Finder info dump will exist if there are any nonzero bytes in the
  type or creator code
2019-08-18 21:37:51 +08:00
Elliot Nunn 51a0f8e68e Imitate os.walk(), nicer than iter.paths() 2019-01-12 20:37:27 +08:00
Elliot Nunn d2a0fc36ff Fail or warn about unsyncable files
Filenames that MacOS sees as ending with .rdump or .idump are reserved
for resource fork and Finder info dumps. They are ignored on the HFS
side and complained about on the local side. This also applies to files
named underscore (_), which are reserved for directory Finder info.

Dotfiles are ignored on both sides (but warned about on the HFS side) to
make some modern tooling invisible to the MacOS.
2019-01-12 19:38:40 +08:00
Elliot Nunn a5b3a5823d Update deprecated import 2019-01-12 18:32:37 +08:00
Elliot Nunn 1362dab2c0 Treat 'ttro' readme files as text 2018-12-10 16:04:52 +08:00
Elliot Nunn d4536441e2 Allow a folder to be synced to/from disk
Previously only Volume objects had read_folder and write_folder methods.
2018-12-09 15:20:59 +08:00
Elliot Nunn cd433459d0 Throw clear out-of-space and bad-name exceptions 2018-10-23 17:51:37 +08:00
Elliot Nunn ddc8445771 Fix del keyword 2018-10-18 16:06:04 +08:00
Elliot Nunn 968fdadf2b Better error message for long filenames 2018-10-14 09:01:40 +08:00
Elliot Nunn 5dff862548 Better dumping 2018-10-08 09:46:19 +08:00
Elliot Nunn e3d3623de9 Use Unicode strings instead of bytes 2018-10-08 09:06:35 +08:00
Elliot Nunn 73f01d3e81 neaten up newlines 2018-10-08 08:20:03 +08:00
Elliot Nunn 4b336343d8 Prepare to package 2018-10-08 07:38:58 +08:00