There's a good set of instructions at http://augeas.net/page/Loading_specific_files. What you're looking for is specifically in the "Loading even less" section.
augtool> set /augeas/load/Fstab/incl "/etc/fstab" I do this a lot for XML files, java properties files and shellvars style files. Regards, -Alan On Wed, Jun 13, 2012 at 9:55 PM, Tom Limoncelli <[email protected]> wrote: > Sometimes I need to use augeas on a file that is not named as the lens > expects. For example for debugging or because my code needs to edit a file > that is not "live" yet. > > Is there a way to specify "load file X using lens Y and disregard the regex > that says this is wrong"? > > Tom > > > > -- > http://EverythingSysadmin.com -- my blog > http://www.TomOnTime.com -- my videos > > _______________________________________________ > augeas-devel mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/augeas-devel _______________________________________________ augeas-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/augeas-devel
