I currently use templates to manage machine-to-machine differences for single files. However, I have the situation where I have a folder of files that are in different locations across OSes. AFAICT the only way to manage this would be to create a template for each file. I would like to be able to specify the folder location with a template, and have the contents be placed appropriately (without having to create a template for each file).
What exactly are you trying to do?
I currently use templates to manage machine-to-machine differences for single files. However, I have the situation where I have a folder of files that are in different locations across OSes. AFAICT the only way to manage this would be to create a template for each file. I would like to be able to specify the folder location with a template, and have the contents be placed appropriately (without having to create a template for each file).
For example, on MacOS the paths might be:
And on Windows
What have you tried so far?
Reading the documentation, searching the github issues, searching the internet, experimenting with templates.
Where else have you checked for solutions?
Output of any commands you've tried with
--verbose
flagNA
Output of
chezmoi doctor
NA
Additional context
NA