← Back to team overview

zim-wiki team mailing list archive

Re: Regarding create directory in attachment browser.

 

Curious: Why can't you just call 'mkdir %d' directly?

On Mon, Apr 11, 2011 at 1:15 PM, <smu@xxxxxxx> wrote:

> Hello,
>
> On Mon, Apr 11, 2011 at 09:18:34PM +0200, Svenn Are Bjerkem wrote:
> > Would it be feasible (maybe I can do it myself) to have another button
> > which creates the attachment directory _without_ opening the file
> > browser?
>
> you can solve this with a simple custom tool. If you use zim on linux,
> create a file with the following content:
>
> #!/bin/bash
> mkdir $1
>
> make it executable and call it as custom tool with the parameter %d.
>
> best regards,
>  stefan
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~zim-wiki
> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>

References