Windows post-create-command does not pass '\' correctly to external command #1110
Replies: 2 comments 4 replies
-
Turning on trace logging I see:
|
Beta Was this translation helpful? Give feedback.
-
@rasusmilch Thanks for asking! But in your case, I actually wonder why you are having double backslashes It also seems to me that your command is only able to handle paths with a double backslash which also surprises me (or I don't know what's going on with windows here...). Actually the command is called directly with the correct file name, see https://github.com/rustic-rs/rustic_core/blob/main/crates/backend/src/local.rs#L118 Note that you can also use |
Beta Was this translation helpful? Give feedback.
-
I'm trying to get rustic to correctly pass the file to par2 using the repository config file on a Windows 10 machine.
In the config file I have:
However, it looks like rustic is not correctly passing the file to the external program as the output shows:
I'm new to rust programming and so the source code doesn't help me find where the
%file
output is generated so I can't decipher anything sadly. Is there a configuration issue? Bug? Should I just manually crawl the directory structure and handle the files?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions