Moving the Oscar_Data Folder on M1 Mac
To save space on my internal Mac Mini SSD I would like to move my OSCAR_Data folder to an external drive. Moving the folder is no big deal but I can't seem to find the setting for the location in Oscar preferences or any settings. I know it asks for this location on installation, but I don't see a way to change it after that.
I'm running Oscar 1.5.0 now and could upgrade to 1.5.1 easily enough but I'm not sure how Oscar would react if the OSCAR_Data folder already exists is I copied it to the new location.
I would like to have a handle on this before moving OSCAR_Data so I don't muck up over six years of existing data.
Thanks in advance for any help or insight you might be able to provide.
- DaRef
RE: Moving the Oscar_Data Folder on M1 Mac
Hi DaRef! -
The OSCAR configuration file for Linux (and Mac - I think!), is located in a hidden directory, "/Users/YourUserName/.config/OSCAR_Team". Its name is, OSCAR.conf. Look for:
[Settings]
AppData=
path/to/OSCAR_Data
Change the path to your new location.
You can also try typing the following in a terminal window:
open -a OSCAR.app --args --datadir /Your/new/directory/path/Oscar_Data
Good luck!
-
Red
RE: Moving the Oscar_Data Folder on M1 Mac
Thanks for the reply. Unfortunately, I can't find an OSCAR.conf file anywhere on my M1 Mac running MacOS 14.1.1. And the /users/<user>/.config directory doesn't have the OSCAR_Team (or any other OSCAR named file) in that directory. So the file structures in Macs and Linux must not be the same.
Tomorrow I will try copying the OSCAR_Data directory and starting Oscar from a terminal as you suggested and see what happens.
If anyone has any other suggestions, I'd be most interested to hear them.
- DaRef -
The OSCAR configuration file for Linux (and Mac - I think!), is located in a hidden directory, "/Users/YourUserName/.config/OSCAR_Team". Its name is, OSCAR.conf. Look for:
[Settings]
AppData= path/to/OSCAR_Data
Change the path to your new location.
You can also try typing the following in a terminal window:
open -a OSCAR.app --args --datadir /Your/new/directory/path/Oscar_Data
Good luck!
RE: Moving the Oscar_Data Folder on M1 Mac
OK, I think I found the Mac's location:
~/Library/Preferences/org.oscar-team.OSCAR.plist
Code:
<key>Settings.AppData</key>
<string>/Users/jeff/Documents/../../../Volumes/[b]YourUserName[/b]/OSCAR/OSCAR_Data</string>
-
Red
RE: Moving the Oscar_Data Folder on M1 Mac
That's it, thank you so very much!!!!
But.... it's an Apple binary preferences list <sigh>. So I did some googling and found a way to convert it to XML so I can edit it and then convert it back to binary.
I'll give this a whirl tomorrow when I'm not quite so tired and bleary-eyed. Thanks for all your help.
- DaRef -