Re: Location of darrc on windows

VA <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
Denis,

Thanks for your response.

> In the meanwhile you still have -B option to point to the darrc file,
> and this works according to the tests I did.

Well, I am setting a machine for backup with DarGUI 
(https://dargui.sourceforge.io/), and the application does not allow to 
specify additional scripts, but does allow to read config files 
$HOME/.darrc and /etc/darrc.

As I described originally I was not able to use /etc/darrc. I also had a 
problem with $HOME/.darrc, as I figured out because of $HOME is not set 
in standalone cygwin.dll application. I was able to make dar started by 
dargui to read .darrc if I would set the HOME environment variable for 
the account, which I would prefer not to do. Finally I created .bat file 
for starting DarGUI that first sets HOME variable to directory 
containing .darrc and then launches DarGUI.exe

So basically I achieved what I wanted, but it certainly would be nicer 
if the config files would automatically load on windows from some sane 
predefined location. So I will be looking forward for any fixes that you 
might come up with.

Thanks,
Vladimir
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.