Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: executing commands in directories containing specific files



On Feb 12,  9:33am, Michel wrote:
} Subject: Re: executing commands in directories containing specific files
}
} > If you've already got the filenames, say, in an array:
} >
} >     texi=( $(find $HOME -type f -name '*.tex') )
} >
} 
} Why use find instead the glob way:
} texi=( **/*.tex(.) )

Leonardo had a "find" command in his original question, so I just copied
it, in case he already had a working script that was producing the list
of .tex files and he only needed a new part to change the suffix.



Messages sorted by: Reverse Date, Date, Thread, Author