This guide explains how to migrate a Nintendo Switch SD card to a larger SD card on macOS, ensuring data integrity while avoiding hidden macOS metadata files.
Step | Action |
---|---|
1 | Create a read-only .dmg backup of the old SD card using Disk Utility. |
2 | Format the new SD card in the Nintendo Switch. |
3 | Mount the .dmg backup and use rsync to transfer data. |
4 | Verify file integrity and eject the new SD card. |
5 | Insert the new SD card into the Switch and confirm data is intact. |
6 | Optionally delete the backup image. |
- A Mac with Disk Utility and Terminal.
- A Nintendo Switch SD card reader (if needed).
- Enough free disk space on your Desktop or an external drive to store the backup.
Since the .dmg
file will be saved on the Desktop
in our examples, confirm you have enough space before proceeding. If you plan to save the file on an external drive, replace ~/Desktop
with the correct path.
-
Open Terminal (Cmd + Space, type Terminal, and press Enter).
-
Run the following command to check available disk space on the Desktop:
df -h ~/Desktop
If using an external drive, check its available space by replacing ~/Desktop with your drive’s mount point. For example:
df -h /Volumes/YourExternalDriveName
-
Look at the
Avail
column. Ensure there is more available space than the size of your SD card. For example:Filesystem Size Used Avail Capacity Mounted on /dev/disk3s5 926Gi 573Gi 323Gi 64% /System/Volumes/Data
If your old SD card is 256GB, you should have at least 256GB free.
- Power off the Switch and remove the old smaller SD card.
- Make sure to enable the write lock on your SD card to prevent any accidental writing.
- Insert the old SD card into your Mac.
- Open Disk Utility (
Cmd + Space
, typeDisk Utility
, and press Enter). - Select the SD card from the left panel (not just a partition, select the entire card).
- Create a backup disk image:
- Click File → New Image → Image from [SD card name] (usually "Untitled").
- Set options:
- Save As: enter a name such as
nintendo-switch-backup.dmg
(save to Desktop or an external drive). - Format: Read-only.
- Encryption: None.
- Save As: enter a name such as
- Click Save and wait for the process to complete.
- Eject the old SD card (
Cmd + E
or right-click → Eject).
At this point, you have a read-only backup of the old SD card.
- Insert the new SD card into the Nintendo Switch and power it on.
- Go to System Settings → System → Formatting Options.
- Select "Format microSD Card" and confirm.
- Power off the Switch and remove the SD card.
Now, the new SD card is formatted for Switch compatibility.
-
Open a Terminal and mount the
.dmg
backup image (assuming it is in theDesktop
folder):hdiutil attach ~/Desktop/nintendo-switch-backup.dmg
The image will mount in
/Volumes/
usually asUntitled
(if the old SD card was formatted via Nintendo Switch). You should see an output like:expected CRC32 $9D8A7212 /dev/disk5 /Volumes/Untitled
-
Insert the new SD card into your Mac.
-
Prevent macOS from creating hidden files on the new SD card:
sudo mdutil -i off "/Volumes/Untitled 1" sudo mdutil -E "/Volumes/Untitled 1" sudo touch "/Volumes/Untitled 1/.metadata_never_index" sudo touch "/Volumes/Untitled 1/.fseventsd/no_log" defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
What this does:
mdutil -i off "/Volumes/Untitled 1"
→ Stops Spotlight from indexing the SD card.mdutil -E "/Volumes/Untitled 1"
→ Deletes any existing Spotlight metadata.touch "/Volumes/Untitled 1/.metadata_never_index"
→ Ensures Spotlight never indexes the SD card again.touch "/Volumes/Untitled 1/.fseventsd/no_log"
→ Prevents macOS from logging filesystem events on this volumedefaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
/DSDontWriteUSBStores
→ Prevents creation of .DS_Store files on USB/external volumes for current session
-
Check the list of mounted volumes:
ls /Volumes
You should see:
Macintosh HD Untitled Untitled 1
Untitled
→ Mounted backup (old SD card data).Untitled 1
→ New SD card.
-
Copy the data using
rsync
while excluding macOS metadata:rsync -avh --progress --exclude=".*" --exclude=".*/" "/Volumes/Untitled/" "/Volumes/Untitled 1/"
--exclude=".*"
ensures that macOS hidden files (.DS_Store
,._*
) are not copied.
-
Check if all files were copied successfully to the new SD card using rsync dry-run option:
rsync -rvh --dry-run --progress --exclude=".*" --exclude=".*/" "/Volumes/Untitled/" "/Volumes/Untitled 1/"
- If no files are listed for transfer in the output (only summary statistics), the contents are identical
-
Eject the SD card properly:
diskutil eject "/Volumes/Untitled 1"
- Insert the new SD card into the Nintendo Switch.
- Turn on the Switch and check:
- Games and save data should be intact.
- Screenshots and other saved data should appear correctly.
- Storage size should reflect the new capacity under:
- System Settings → Data Management.
-
Eject the mounted backup volume:
hdiutil detach "/Volumes/Untitled"
-
Move the
.dmg
backup file to Trash:mv ~/Desktop/nintendo-switch-backup.dmg ~/.Trash/
-
Return the system to its default behavior for creating .DS_Store files:
defaults delete com.apple.desktopservices DSDontWriteUSBStores
defaults delete com.apple.desktopservices DSDontWriteNetworkStores
- No risk of corruption due to a read-only
.dmg
backup. - Uses Nintendo-approved formatting for best compatibility.
rsync
prevents unwanted macOS metadata files.- Provides a rollback option in case of issues.