I'm sorry if this is too simple or has been covered before... but I hope someone here can help out. I can't figure out how to expand the * wildcard in a pathname unless it is followed by a space. For example,
echo $path* $dir
yields
/Data0001 /subfolder
which is what I want, but without the space. If I try to take out the space with,
echo $path*$dir
I get,
/Data*/subfolder
Any tips on how to get the * to expand without the whitespace?
Thanks.