Re: Location of darrc on windows
andycapo--- via Dar-support <[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.dar.support |
|---|---|
| Message-ID | <[email protected]> |
Ok, thank you. Andy > Il 03/01/2021 15:36 Denis Corbin <[email protected]> ha scritto: > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Hello Andy, > > this is the expected behavior: > > - - darrc (wherever it is installed in /etc /usr/etc /usr/local/etc or > where you instruct it to be installed using the --prefix and/or > - --sysconfdir option given to "./configure") is always read unless: > - - a $HOME/.darrc is present and does not contain a -B option pointing > to /etc/darrc /usr/etc/darrc or wherever it has been installed, > - - -N option is provided on command-line or in an included file > > Passing -B option to dar does not change this behavor, it just adds > more files to be read for configuration purposes (you can use several > - -B options if you like and recursively also), you can also hopefully > use the user targets defined in the official darrc from your dcf files. > > What you probably need is adding -N option in "mydir/mydarrc.dcf": > this way you keep the default darrc unless you give mydarrc.dcf using > a -B option. > > See also the DAR_DCF_PATH environment variable. > > Regards, > Denis