JSON support
Contents
RsyncOSX supports read and write configurations and logs as JSON files. The user will have the option to convert existing configurations and logs from plist to JSON. Before converting to JSON, in user configuration, make a backup of the current configuration files. The current configurations is backed up in the catalog $Home/Documents/RsyncOSXcopy-$date-suffix
.
Enabling JSON
To enable JSON support is a two step process. There are three parts in the File menu dedicated for JSON support:
- Verfiy (JSON) (shortcut
⌃⌘V
) - verify either converted JSON or PLIST files - View output (shortcut
⌘O
) - after a verify open the output and select Logfile - Transform (shortcut
⌘J
) - enables the transform button for either JSON or PLIST
First task is select the Transform
(or shortcut ⌘J
). The main view shows a JSON
button (or a PLIST
button). Selecting the button executes the transformation. The existing plist or JSON configurations are not changed.
JSON
button if RsyncOSX is reading PLIST files and converts to JSON filesPLIST
button if RsyncOSX is reading JSON files and converts to PLIST files
After transforming, the second task is to enable JSON support by selecting the JSON
option in user configuration
JSON enablet
RsyncOSX will automatically quit and after a restart JSON support is enablet. For new users only select the JSON
option to enable JSON support.
A yellow label indicates JSON support is enablet. The JSON files are stored in, add profilename if profile is used:
./rsyncosx/macserial/configurations.json
for configurations./rsyncosx/macserial/schedules.json
for schedules
Returning to PLIST
You can anytime go back to plist format. Select Transform or ⌘J
and select the PLIST
button in main view. It saves the current configurations and schedules as plist format. In userconfig disable the JSON
support and after restart plist is enablet.
Author RsyncOSX
LastMod 2020-12-13 (5f7d28a)