{"id":22757527,"url":"https://github.com/gitanat/install_config_files","last_synced_at":"2025-03-30T08:15:23.807Z","repository":{"id":66897578,"uuid":"2231527","full_name":"gitanat/install_config_files","owner":"gitanat","description":"Facilitates keeping config files in a separate directory, helping create symlinks to them","archived":false,"fork":false,"pushed_at":"2011-09-06T04:21:19.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T10:14:40.068Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gitanat.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-08-19T01:48:41.000Z","updated_at":"2020-01-16T09:05:31.000Z","dependencies_parsed_at":"2023-02-20T14:00:27.983Z","dependency_job_id":null,"html_url":"https://github.com/gitanat/install_config_files","commit_stats":null,"previous_names":["gitanat/install_config_files"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitanat%2Finstall_config_files","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitanat%2Finstall_config_files/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitanat%2Finstall_config_files/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitanat%2Finstall_config_files/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitanat","download_url":"https://codeload.github.com/gitanat/install_config_files/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246290720,"owners_count":20753735,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-11T07:18:46.495Z","updated_at":"2025-03-30T08:15:23.785Z","avatar_url":"https://github.com/gitanat.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"install_config_files.py is a script that allows you to keep your config files is a separate directory, and helps you creating symlinks to them.\n\nGLOSSARY:\noriginal directory: the directory your config files originally shared in common, i.e: your home dir\nconfig directory: the (new) directory to keep config files\ndata directory: a config directory you want to link. see below\n\n\n\nHow to keep config files in a separate directory:\n    -create an empty directory\n    -move each config file you want to it, keeping the path (relative to the original directory). Example: move \"/home/user/.config/program/settings.conf\" to \"newdir/.config/program/settings.conf\"\n\nAfter a config directory is created, name it \"config\", and copy the script to it's parent directory.\n\n\n\nThe script processes each directory and file inside \"config\". It takes the following actions (python-pseudocode):\n    For a directory:\n        if it's a \"data directory\":\n            treat directory as file\n        else:\n            mkdir if inexistent in original directory\n            recurse into it\n    for a file:\n        backup if existent in original directory\n        symlink it to the original directory\n        \nIt also takes the following precations:\n    check for broken, existing, and outdated links\n\nOn some circunstances, it might be desirable to link whole directories, instead of single files - for example, if you have dynamic file names\n(a directory with logs, etc). These directories shall be known as \"data directories\", and, to enable the program to recognize them, the extension \"..install_config_files_DATA\" shall be appended.\n\n--gpp\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitanat%2Finstall_config_files","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitanat%2Finstall_config_files","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitanat%2Finstall_config_files/lists"}