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

support XDG_CONFIG_HOME #868

Closed
legrostdg opened this issue Nov 10, 2016 · 5 comments
Closed

support XDG_CONFIG_HOME #868

legrostdg opened this issue Nov 10, 2016 · 5 comments
Milestone

Comments

@legrostdg
Copy link

I would be great to have rclone use $XDG_DATA_HOME/rclone/config, and then $HOME/.rclone.conf as a fallback.

@ncw
Copy link
Member

ncw commented Nov 11, 2016

I read from https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html that $XDG_CONFIG_HOME is probably what is required.

$XDG_CONFIG_HOME defines the base directory relative to which user specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used.

That would fulful the request I've had in the past to get the config file into the .config dir.

@legrostdg
Copy link
Author

Woops, you're absolutely right: I meant $XDG_CONFIG_HOME/rclone/config

@ncw
Copy link
Member

ncw commented Nov 11, 2016

Does anyone know what macOS does... Is the XDG convention sensible here?

@legrostdg
Copy link
Author

kynikos added a commit to kynikos/rclone that referenced this issue Jan 14, 2017
kynikos added a commit to kynikos/rclone that referenced this issue Jan 19, 2017
kynikos added a commit to kynikos/rclone that referenced this issue Jan 19, 2017
kynikos added a commit to kynikos/rclone that referenced this issue Jan 19, 2017
kynikos added a commit to kynikos/rclone that referenced this issue Jan 19, 2017
kynikos added a commit to kynikos/rclone that referenced this issue Jan 19, 2017
kynikos added a commit to kynikos/rclone that referenced this issue Jan 20, 2017
kynikos added a commit to kynikos/rclone that referenced this issue Jan 20, 2017
kynikos added a commit to kynikos/rclone that referenced this issue Jan 21, 2017
kynikos added a commit to kynikos/rclone that referenced this issue Jan 21, 2017
@ncw ncw closed this as completed in 9d36258 Jan 26, 2017
@ncw
Copy link
Member

ncw commented Jan 26, 2017

This is now done! See this beta

http://beta.rclone.org/v1.35-44-g8068ef9/ (uploaded in 15-30 mins)

@ncw ncw added this to the v1.36 milestone Jan 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants