Target Disk Mode
Target Disk Mode is a feature for connecting two Mac computers so that one acts as an external hard drive for the other. It allows users to transfer files between the two Macs directly, and is often used to access data on a damaged Mac or to clone a hard drive. To use it, connect the two Macs with a Thunderbolt or other supported cable, then restart the "target" Mac while holding the "T" key for Intel-based Macs or by selecting the option after holding the power button on Apple Silicon Macs.
How to use Target Disk Mode
Connect the Macs: Use a Thunderbolt or USB-C cable to connect the two Macs. You may need a specific cable depending on the Mac models.
Enter Target Disk Mode:
Intel Macs: Start the Mac while holding down the "T" key.
Apple Silicon Macs: Press and hold the power button, then select "Target Disk Mode" from the startup options.
Alternatively: On a Mac that is already on, go to System Settings > General > Startup Disk and click "Restart in Target Disk Mode".
Transfer files: Once the Mac has started up in Target Disk Mode, a disk icon for the target Mac will appear on the desktop of the other Mac. You can then open a Finder window and drag and drop files to and from the disk, similar to using an external drive.
Disconnect: When finished, eject the target Mac's drive from the host Mac's Finder sidebar. Then, shut down the Mac that was in Target Disk Mode and disconnect the cable.