Menu

howto: ignore emacs tilde (~) files?

Help
2005-10-23
2013-04-30
  • Chinarut Ruangchotvit

    Hi!   First I want to say thanks to frodo @ MacGuru for porting Tripwire  to OS X - I now have it running great on my system.

    While running integrity checks, I notice that tripwire sweeps up emacs save files (*~) and would like to know how I may configure Tripwire to ignore such files?

     
    • Jason I.

      Jason I. - 2005-12-22

      The ideal way to ignore these files is with a wildcard - unfortunately, wildcards aren't supported in the current opensource release.

      Possible options:

      - Are there lots of these files, or just a few?  If the number is small, stop points may work well.

      - Are the files scattered everywhere, or in just a couple directories?  Might be able to switch to inclusive vs. exclusive rules for this directory.

      - A creative but labor-intensive way would be to script the following process:
        * list all objects in a given directory
        * grep out all ~ files
        * feed resulting list thru tripwire, having it scan only the objects on the list

      - Use vi instead of emacs :-)

      Good luck-

      Jason

       

Log in to post a comment.

MongoDB Logo MongoDB