-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
Copy and symlink various files using rcup and rcrc #244
Comments
Tags were brought in rcm to be able to deploy files depending on conditions, not to choose how to deploy files. |
Hello @Tank-Missile , I am starting the discussion suggested by Mike's tag ^^ Main issue there is that rcm is primarily targeted to symlink files. Copies are exceptions, and treated as such by the COPY_ALWAYS variable or the If we would do that, we might use a static pattern like |
@Tank-Missile Keeping on discussion: ATB |
@mat-m Sorry for not responding sooner, but I only just remembered why I attempted to split my dotfiles into symlinked and copied files. Certain files such as my steam settings and chromium settings don't work at all when symlinked from another directory. Certain KDE dotfiles also contain session data, which changes even if no settings were changed. This would end up polluting my Nextcloud log with unnecessary file change messages. Instead, for copied files, I could make changes, and then have them copied by running rcup. |
@Tank-Missile : |
I set up two tagged directories, tag-Copy and tag-Link. The copy directory would have all its files copied, and the link directory would have all its files symlinked. In the same directory as these two directories, I have an rcrc file. This file is symlinked to my home directory by running rcup -d ~/Nextcloud/Dotfiles. However, no matter how I set COPY_ALWAYS, files in tag-Copy are symlinked instead of copied. Unrelated to a possible misconfiguration or bug, could an option for specifying if files are copied or symlinked based on tags be added? This is the contents to my .rcrc file:
The text was updated successfully, but these errors were encountered: