Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS users home folder location #1

Open
Jeff8356 opened this issue Aug 30, 2023 · 1 comment
Open

macOS users home folder location #1

Jeff8356 opened this issue Aug 30, 2023 · 1 comment

Comments

@Jeff8356
Copy link

On macOS the users $HOME folder is /Users/<username>, also known as ~/ in most of the *nix world.

The /home folder is part of the system and is not user writable. It is actually a symlink to /System/Volumes/Data/home which contains no data or folders. It will cause an error if you try to write to that location.

In your scripts you would need to change the macOS path to /Users/MY_USERNAME/Documents/CPAP_Data

Here is the output from the command line:

%)── echo $HOME                                                               
/Users/jeff

and from my home directory:

%)── pwd  
/Users/jeff
@JCOvergaar
Copy link
Owner

Oops. Yeah, I did all this on a Mac. Looks like I deleted /Users when I replaced my username with the placeholder text. I’ll fix it, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants