Skip to content

OS-specific configurations #286

@tim-coutinho

Description

@tim-coutinho

Is this something that's up for consideration? I use different operating systems for work vs. my personal computer. As of now, I'm controlling which files are backed up and/or reinstalled with something like [[ $OSTYPE =~ 'linux' ]] or [[ $OSTYPE =~ 'darwin' ]] in the condition fields, but it doesn't make much sense to backup shallow-backup.conf itself due to paths differing based on the OS, e.g. on my Macbook, my Sublime Text settings are at /Users/$USER/Library/Application Support/Sublime Text 3/Installed Packages, while on my personal Windows machine with WSL, they're at /mnt/c/Users/$USER/AppData/Roaming/Sublime Text 3. The backup_path potentially differs for both as well.

Basically, more programmatic parsing of shallow-backup.conf is what I'm looking for.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions