PairLine Support
Before you start
Before overwriting, copying, or restoring data, always make a separate copy of the original files or folders in another location. Keep that copy until you have checked the result.
Comparing files or folders leaves the original files unchanged. Before you proceed, check which file you are about to overwrite or where you are copying or restoring data.
DisclaimerFrequently asked questions
How do I compare two files?
On the start screen, choose “File Comparison,” select “File 1” and “File 2,” then click “Compare 2 Files.” You can also drag files into the selection fields.
How do I step through the differences?
Use “Next Difference” and “Previous Difference” in the toolbar to move between changes. After editing the text or changing comparison settings, click “Compare Again” to update the highlighting and difference count.
What do the difference colors mean?
In two-file and three-file text comparisons, changed lines have a pale yellow background, with a darker yellow background behind changed characters. Selecting a difference changes these backgrounds to pink and dark red, respectively.
Enable “Detect Moved Lines” under “Comparison Method” to show detected moved lines in orange.
Gray blank areas align the corresponding lines on both sides and are not included in saved files. Empty lines in the files are not highlighted.
For a full explanation of the colors, choose “Difference Colors” from the Help menu.
How do I edit and save while comparing?
Click in the text pane you want to edit, make your changes, then press ⌘S to save. You can also choose which side to save from the File menu. When saving pasted text for the first time, choose a filename and location.
How do I apply a difference to the other file?
In a two-file text comparison, open “Difference List” in the toolbar. Select the difference you want to apply, right-click it, and choose “Apply A to B” or “Apply B to A.”
Check the result, click in the text pane you want to save, and press ⌘S. If you have edited the text, run “Compare Again” before applying a difference.
You can apply changes in text view to a file that is not read-only. For differences detected as moved lines, edit the text directly.
Why can’t I edit or save a file?
Table comparisons of CSV or TSV files and structured comparisons of JSON, XML, or YAML are read-only. To edit the original text, choose “Text” under “Comparison Method.”
Text read from PDFs and files inside ZIP archives are also read-only. To change the original files, edit them in an app that supports their format.
Xcode configuration files (.xcconfig), localization files (.strings), and files such as Package.resolved are read-only even in Text view. Use another editor for these files or for a file marked read-only because of its size.
If you opened a regular text file as read-only, turn off “Read-only” for that file on the start screen and reopen the comparison. You also need write permission to save changes to the original file.
If you can edit the text but cannot overwrite the file, click “Compare Again” and wait for the comparison to finish before saving.
How do I compare pasted text?
Choose “Text Comparison” on the start screen, paste text into the left and right fields, then click “Compare.” You can also type directly into the fields.
Which file formats are supported?
Supported formats include text, source code, CSV, TSV, JSON, XML, and YAML. PDF comparison uses the text that can be read from the document; it does not compare page layouts or images. Choose ZIP files in “Folder Comparison.”
How do I compare CSV or TSV files as tables?
Open CSV or TSV files in a two-file comparison and choose “Table” under “Comparison Method.” Choose “Text” to view the original text, including delimiters.
If a file exceeds the size limit for table comparison, Auto opens it in Text view.
How do I compare CSV or TSV files with different row orders?
In the table’s “Comparison Method” menu, choose “Match Rows by Key Column.” Under “Key Column,” select the column that identifies each row, then click “Compare Again.” Rows with the same value appear together even if their order differs.
Choose a column with the same header in both tables. Within each table, every row must have a value in that column, and each value must appear only once.
If “Match Rows by Key Column” is missing, check whether the first row of each table contains column headers. If both tables have headers, open File Formats in Settings, set “Header row” to “Present,” and compare again.
How do I compare JSON, XML or YAML by field?
Open the files in a two-file comparison, choose “Structure” under “Comparison Method,” and open “Difference List” in the toolbar.
When there are changes to items, Structure appears at the top of the list. Select it to see changed values, additions, and deletions in the hierarchy. To return to the source text, choose Text from Comparison Method.
How do I compare three files?
On the start screen, choose “File Comparison,” select “File 1,” “File 2,” and “File 3,” then click “Compare 3 Files.” Files 2 and 3 are compared against File 1.
You can edit and save each text file unless it is read-only. Three CSV or TSV files are compared as text rather than tables.
How do I compare folders or ZIP files?
Choose “Folder Comparison” on the start screen, select a folder or ZIP file for each side, then click “Compare Folders.”
Expand folders in the list to see files and folders found on only one side, and files whose contents differ. You can filter by filename or comparison result. Files inside ZIP archives are read-only.
How do I compare files from the folder list?
In the folder list, double-click a file in a supported format that is present on both sides. Its differences open in a separate window, with the folder list still open. You can also right-click the file and choose “Open Two-File Comparison.”
How do I copy files or folders found on only one side?
In the folder list, right-click the item you want to copy and choose the menu command showing the source and destination folder names. Check the items and destination in the confirmation dialog before copying.
Items missing from the destination are added, and existing files are left unchanged.
The destination must be a writable folder. Copying is not supported in comparisons involving ZIP archives, and symbolic links are not copied.
How do I fix garbled text?
Save any unsaved edits under a different name first. Use “Text Encoding” to the right of the filename to reload the file with the encoding used when it was saved. Choosing “Discard Edits and Reload” discards unsaved changes to that file.
For CSV or TSV files in table view, first set “Comparison Method” to “Text.” After selecting the encoding, choose “Automatic” or “Table” to return to table view.
What if a file or folder cannot be opened?
If you moved the file or folder, or see a permissions error, locate it in Finder and select it again on the start screen. If you dragged a Finder alias, select the original file or folder instead.
If an iCloud Drive file hasn’t downloaded to your Mac, click “Download and Compare Again” on the start screen. If the button says “Download Again,” click it to retry.
If the app can’t read the text encoding, click “Choose Encoding…” and select the encoding used to create the file.
Word (.docx) and Excel (.xlsx) files cannot be compared directly. Export text as a plain text file or a table as CSV or TSV, then compare the exported files.
If it still won’t open, contact support with the message shown and the file format.
How do I back up a file before saving changes?
“Create a backup before saving” is on by default in Settings > Backups. Before overwriting a file or applying a difference, the app encrypts and backs up the saved file. The default retention period is 30 days; you can change it and the backup location on the same screen.
Unsaved edits are not included in backups. Save them under a different filename if you want to keep them.
How do I restore a backup?
Open Settings > Backups > “Manage Backups…” and choose “Restore…” for the item you want to recover. To keep the current file, choose a different filename or location. Restore folders under a new folder name.
Restore the backup on the Mac that created it. The key required for restoration is stored in that Mac’s keychain.
How do I delete a backup?
In Settings > Backups > “Manage Backups…”, choose “More” > “Delete Backup…” for the item you want to delete. Your current file is kept.
If the backup is the only remaining copy of something you need, restore it before deleting the backup.
If you have uninstalled PairLine and backups remain in a custom location, you can delete them in Finder.
How do I remove all app settings and stored data?
These steps remove app settings and backups. They do not delete the original files used for comparison. If something you need exists only in a backup, restore it first.
1. If you changed the backup location, delete those backups in Settings > Backups > “Manage Backups…”. If you have already uninstalled the app, delete them in Finder.
2. Quit PairLine. In Finder, choose Go > Go to Folder and open ~/Library/Containers/. Move the KSW.PairLine folder to the Trash. Finder may display its name as PairLine. This folder contains app settings, information about previously open windows, and backups stored in the default location.
3. In Keychain Access, search for dev.pairline.safety-backup.aes256.v1 and delete the item whose account name is encryption-key. Backups encrypted with this key can no longer be restored after it is deleted.
4. To remove the items from the Trash as well, select those items and choose Delete Immediately.
How do I recover a changed or deleted file?
Stop saving over or copying to the affected file. If possible, keep a copy of the remaining files in a separate location.
If you have a PairLine backup, open Backups in Settings on the Mac that created it. Choose “Manage Backups…”, then “Restore…”. Restore the file to a different location and check its contents. You can also recover the file from a copy you kept separately.
If a save was interrupted, open Backups in Settings. If “Show Recovery Files in Finder” appears, click it to review the contents from before the save and copy what you need to a separate location.
If you cannot restore the file, contact support with the actions taken just before the problem occurred and any messages shown.
Are my file contents sent elsewhere for comparison?
Comparison takes place on your Mac. File contents are not uploaded for comparison. Files in synced folders, such as iCloud Drive, are synchronized according to the service settings.
How do I report a problem?
On the contact page, select PairLine as the app and “Bug report” as the inquiry type. Enter the app version, a description of the issue, and the steps to reproduce it.
In the issue details, also include your macOS version, what you were comparing (files, folders, or pasted text), the file format, and any message shown. If you attach files or screenshots, use samples with personal and confidential information removed.
Contact
Contact us with questions, requests, or bug reports.
Contact usDisclaimer
Before overwriting, copying, or restoring data, always make a separate copy of the original files or folders in another location. Keep that copy until you have checked the result.
If Kishu Software Works is liable for data loss, corruption, or unintended changes to data caused by its ordinary negligence in connection with the use of this app, compensation is limited to losses that would ordinarily result.
This limitation does not apply to losses caused by the intentional misconduct or gross negligence of Kishu Software Works, its representatives, or its employees. It also does not apply where applicable law prohibits limiting liability.
You may seek warranty remedies, refunds, damages, and other remedies under applicable law.