Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account


New Posts   Today's Posts

Moving the Oscar_Data Folder on M1 Mac
#1
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
Post Reply Post Reply
#2
RE: Moving the Oscar_Data Folder on M1 Mac
Hi DaRef!  -  Welcome
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
Crimson Nape
Apnea Board Moderator
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Apnea Helpful Tips

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply
#3
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!
Post Reply Post Reply
#4
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
Crimson Nape
Apnea Board Moderator
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Apnea Helpful Tips

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply
#5
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 -
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Help: OSCAR DATALOG folder is blank jake.love 2 222 11-09-2024, 09:47 AM
Last Post: jake.love
  Moving OSCAR from old MAC book to new Mac Book REMRICK 5 390 10-29-2024, 12:19 AM
Last Post: REMRICK
  Moving the OSCAR_Data directory - how? d1hartman 2 1,064 08-08-2024, 08:10 PM
Last Post: LongJumpingEnergy
  Moving the OSCAR_CPAP_Data Directory archangle 3 1,547 08-08-2024, 08:08 PM
Last Post: LongJumpingEnergy
  Syncing Oscar data folder between computers Stefanyshyn 2 417 07-29-2024, 08:45 AM
Last Post: Stefanyshyn
Question OSCAR data folder change oolong 3 645 06-15-2024, 09:27 PM
Last Post: Rickyricardo
Question Trim Oscar Backup Folder mogulman 3 482 05-22-2024, 09:49 AM
Last Post: Crimson Nape


New Posts   Today's Posts


About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.