On Mon, Jul 4, 2016 at 6:10 PM, Andreas Schwab <schwab@xxxxxxxxxxxxxx> wrote: > shawn wilson <ag4ve.us@xxxxxxxxx> writes: > >> $ git filter-branch --tree-filter "shopt -s extglob && mkdir -p >> cookbooks/base_sys && mv !(cookbooks) cookbooks/base_sys" > > extglob changes the parser, you need to set that on a separate line. > by "separate line", I'm guessing you mean outside of the filter-branch eval? Something like this? shopt -s extglob; declare -a f=(!(cookbooks)); git filter-branch --tree-filter "mkdir -p cookbooks/base_sys && mv $f cookbooks/base_sys" (don't have access to the repo atm and am curious if this is what you mean) -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html