On 19 jan, 22:25, Christian Brabandt <[email protected]> wrote:
> Hi epanda!
>
> On Di, 19 Jan 2010, epanda wrote:
>
> > I have seen the finddir func but it might that I have to enter a
> > searchedDir name.
>
> > How list all sub directories from a path and stored found pathSubDirs
> > into a map or List.
>
> Does this what you want:
> :echo glob('path/**/')
>
> regards,
> Christian

Thank you Christian,

        for l:dir in split(glob(parentDir .'/**/'),'\n')
                call GenerateDirs(l:dir,listDirToCreate)
        endfor


I have used that to create some directories into all subdirectories of
files
-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to