IsoHappy
Menu

Save files

When you have found a file you want, save a copy of it to your Mac. IsoHappy never changes the source. Save to a different, healthy drive, especially when the source is damaged.

Save a file or folder

  • For one file: select it and click Save a Copy… in File Preview.
  • For a file or a folder: select it and choose Go > Extract Selected… (Command-E), or Control-click it and choose Extract Selected….
  • For several items: select them with Command-click or Shift-click, then choose Extract Selected Items (N)… from the shortcut menu. They are saved side by side in a new folder, and names that clash get a number. Extract Selected Items with Paths (N)… (Shift-Command-E) recreates their folders, starting with the volume’s name, which is useful for search results from many folders.
  • Drag files and folders to Finder or another app. Nothing is read until you drop; then IsoHappy saves the item with the same checks as any other save, and the destination copies it. Dragging needs the license that saving the item needs.

Choose where to save and click Save (for a folder, Extract Folder Here). When it finishes, a Recovery message says what was saved, with Show in Finder and OK buttons. While a long save runs, the IsoHappy icon in the Dock shows a progress bar.

Plain ISO 9660 warning

When you save from a plain ISO 9660 volume and the same track also has a Joliet, Rock Ridge or UDF volume, IsoHappy warns that A better file system is available: plain ISO 9660 gives short names, while the other volume keeps long names and more file information. Choose Browse … Instead to switch, or Extract from ISO 9660 to go on. Turn the warning off with Warn before extracting from plain ISO 9660 in Settings > Browsing.

If your license does not cover the file, the license window opens before anything is saved, and says which license it needs. A folder that holds some files needing a paid license can still be browsed and previewed. See Licenses.

How IsoHappy saves

IsoHappy first writes the content and checks it, then restores what the source file system recorded about the file. If a sector could not be read, it is filled the way Settings > Reading says (zeros at first), and the result says how much could not be read. See Read errors and surface scans.

Before saving, IsoHappy checks that there is enough free space at the destination. If there is not, it says how much is needed and how much is free, and saves nothing.

A file in the list does not prove that its contents survived. A saved file marked as needing review may hold filled-in or uncertain data. Open it in its usual app before you rely on it.

What is kept

Choose what is restored in IsoHappy > Settings… > Extraction. These settings apply to files saved from the file list and from the command line.

  • Restore dates (on at first): creation, modification, last access and backup dates, as far as the source records them. ISO 9660 discs without Rock Ridge record one date per file, which becomes both the creation and modification date.
  • Restore permissions (on): the owner, group and other permission bits recorded by Rock Ridge, UDF, HFS Plus, APFS, ext and XFS. Setuid and setgid are never restored, the owner and group are never changed, and you always keep read access to saved files and full access to saved folders.
  • Restore hidden and read-only flags (on): Windows hidden and read-only attributes, the Finder’s invisible flag and the Mac hidden flag. A read-only or locked file is saved without write permission, so you can still move or delete the copy.
  • Finder information: the file type, creator and Finder flags of HFS, HFS Plus, MFS and APFS files.
  • Save resource forks, streams and extended attributes (on): resource forks, NTFS alternate data streams, UDF named streams and extended attributes are saved as extended attributes of the copy and read back to check them. A stream larger than 64 MB is not saved as an attribute (a resource fork has no such limit) and is listed in the result. Streams that only hold a file system’s own bookkeeping, such as compression data, are left out, because the copy is saved decompressed.
  • Keep sparse files sparse (on): sparse files from NTFS, ext, XFS, APFS and other file systems that record empty ranges are saved sparse on drives that support it, so their empty parts take no space. The content is the same either way.

Saving resource forks and streams needs a Pro license. With a Personal license, files are saved with their dates, permissions, flags and Finder information, and the status message says how many streams were left out.

IsoHappy does not yet read extended attributes stored on ext, XFS or Btrfs volumes, so those are not restored.

Dates, permissions, flags, Finder information, resource forks and streams were checked by saving files from UDF volumes written by the macOS UDF driver and NTFS volumes made with ntfs-3g, as well as HFS+, APFS, ISO 9660, ext4 and FAT images from independent tools.

If the destination cannot store something, for example permissions on an exFAT drive, the file is still saved and the result lists what could not be set.

Time zones

FAT, classic HFS and MFS store local time without a time zone. IsoHappy reads those times as this Mac’s local time. ISO 9660, UDF and exFAT can record the time zone a date was written in. Under Dates from other time zones, the default Convert to this Mac’s time zone keeps the same moment it had on the source. Choose Keep the clock time as recorded to keep the clock reading instead, as if it had been recorded in your time zone.

Mac files

Files with a resource fork or Finder information are saved natively by default, with the fork and Finder information attached to the copy. To keep them on a drive or system that cannot store them, choose another format under Save Mac files as in Settings, or for one item with Extract As in the shortcut menu:

  • AppleDouble (separate ._ file): the data as an ordinary file, plus a file whose name starts with ._ that holds the resource fork and Finder information.
  • AppleSingle (.as): one file with the data, the resource fork, the Finder information, the name and the dates.
  • MacBinary III (.bin): one file with the data, the resource fork and the Finder information.

These formats can hold forks of up to 4 GB. A file whose fork (or, for AppleSingle and MacBinary, whose data) is larger is saved natively instead. Other extended attributes have no place in these formats, so they are left out and counted. The Mac formats need a Pro license. Without Pro, a format chosen in Settings falls back to native.

Turn on Add extensions from Mac file types to names without one to give files in a saved folder an extension that matches their Mac file type, such as .txt for TEXT files. A single file keeps the name you give it in the save panel.

Streams

Files with streams show an ADS or RSRC badge. To save one stream on its own, Control-click the file and choose Extract Stream ‘…’…, or select the file and use Extract Stream… in the Extents & Streams tab. This needs a Pro license.

When the destination exists

By default IsoHappy never replaces anything: the save panel asks for another name. For folders you can change this under When the destination exists:

  • Ask for another name (the default),
  • Add a number to the name,
  • Skip,
  • Replace (the old item goes to the Trash).

A replacement is swapped in only after the new copy is complete and checked, and the old item goes to the Trash (it is deleted on a drive that has no Trash). The image you are reading, and any folder that contains it, is never replaced. The command line always refuses an existing destination.

IsoHappy creates every folder and file relative to its parent, so folder trees deeper than the usual path length limit of macOS are saved and checked like any other.

Open a file

Open (in the shortcut menu, Go > Open, Command-Down Arrow, or a double-click) saves the file to a private temporary folder and opens it in its usual app. Extract and Open… (Option-Command-E) asks for a folder first, then opens the saved copy. Temporary copies older than a day are removed the next time you open an image or disk. Opening needs the license that saving the file needs.

Files from a disc or disk image can be harmful, so IsoHappy is careful about what it opens:

  • Everything it saves to open, to preview or for a drag is marked as downloaded, the way Safari marks downloads, so macOS checks it before it runs.
  • Only pictures, sound, video, PDF, RTF and plain text files open straight away, and only when they are ordinary files with no execute permission and no program header. They open in the app macOS uses for their type, not an app the media names.
  • Anything else (apps and other packages, folders, links, scripts, installers, web pages, archives and files of unknown type) is never opened without asking. IsoHappy asks This item can run code. Open it anyway? with Cancel and Open Anyway buttons, and only opens it when you choose Open Anyway.
  • Before opening a temporary copy, IsoHappy removes the “Open With” choice, Finder information and resource fork that came from the media, so they cannot change how it opens. A copy saved to a folder you chose keeps them.

Extract Selected and Save a Copy never open anything.

Rename a recovered item

Deleted files, files found by signature, files you made by hand and items in volumes that Find Lost rebuilt can be renamed: Control-click the item and choose Rename…. The new name is used in IsoHappy and when you save the item. The media is never changed. Other files cannot be renamed.

Save a range of sectors

To save sectors that no file lists, open the Sector Workbench tab and click Extract LBA Range…. Enter the first sector (LBA) and the Sector Count, and choose where to save. The sectors are saved exactly as the source presents them. This needs a Pro license.

To save one piece of a fragmented file on its own, select the file, open the Extents & Streams tab and click the save button next to that extent. Most extents are saved exactly as they are stored. An extent of a compressed NTFS file is saved decompressed instead: the whole compression units whose data it holds, so a unit that is split across two extents is saved with both. For a file with Windows system compression, it is the compressed chunks that start in the extent. NTFS compression was tested with files compressed by ntfs-3g; Windows system compression only with hand-built data.

To build a file from several ranges, use New Custom File… instead (see Find files by signature).