0

When I do wget https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz and then tar xvzf install-tl-unx.tar.gz the files get extracted (right now) to install-tl-20240521. On the CLI it's not a problem - I can just do cd install-tl-[tab] but if I'm trying to do it in a Dockerfile I can't do that. I thought maybe cd install-tl-* might do the trick but when I do that I get this error:

bash: cd: too many arguments

So if I could extract the tarball contents to a directory of my choosing vs the one in the tarball itself that'd help. Or if I could do a cd with wildcards somehow that'd help too.

Any ideas?

1
  • Replace cd install-tl-* with echo cd install-tl-* to see more details.
    – Cyrus
    Commented May 22 at 0:15

1 Answer 1

0

I was able to get into that directory by doing this:

$(php -r "echo 'cd ' . glob('install-tl-*')[0];")

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .