TurnKey Linux Virtual Appliance Library

TKLBAM include directory, exclude contents

I have a few log directories that need to exists with the correct permissions for my lamp server to work. 

I would like to include the directories, but exclude the files that are stored inside the directories. Is this possible?

Also, is it possible to exclude files based on wild cards, like "-/var/logs/*.mylog"?

Thanks, Koen

Jeremy's picture

I'm not sure about wildcards??

I guess there's probably only one way to be sure - test em out!

As for your other plan. I guess you could do that, but wouldn't it be easier to just recreate the folder post restore using TKLBAM hooks? You should also be able to set permissions that way too.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)