Skip to content

Commit 175fc8b

Browse files
Copilotthawn
andcommitted
Fix backup commands to be platform-specific for Linux and macOS
Co-authored-by: thawn <1308449+thawn@users.noreply.github.com>
1 parent 4dfc7f3 commit 175fc8b

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

docs/migration.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ After migration:
137137

138138
**Permission errors**:
139139
- Ensure copied files have proper read/write permissions
140-
- On Linux/macOS: `chmod -R u+rw ~/.ttmp32gme/`
140+
- On Linux: `chmod -R u+rw ~/.ttmp32gme/`
141+
- On macOS: `chmod -R u+rw ~/Library/Application\ Support/ttmp32gme/`
141142

142143
## Backup Recommendations
143144

@@ -147,12 +148,18 @@ Regular backups prevent data loss:
147148
- **Before updates**: Backup before upgrading ttmp32gme
148149
- **After changes**: Backup after creating new albums or changing settings
149150

150-
Example backup command (Linux/macOS):
151+
Example backup command (Linux):
151152
```bash
152153
# Create timestamped backup
153154
tar -czf ttmp32gme-backup-$(date +%Y%m%d).tar.gz ~/.ttmp32gme/
154155
```
155156

157+
Example backup command (macOS):
158+
```bash
159+
# Create timestamped backup
160+
tar -czf ttmp32gme-backup-$(date +%Y%m%d).tar.gz ~/Library/Application\ Support/ttmp32gme/
161+
```
162+
156163
Example backup command (Windows PowerShell):
157164
```powershell
158165
# Create timestamped backup

0 commit comments

Comments
 (0)