[kwlug-disc] tar question regarding leading "/"

Ronald Barnes ron at ronaldbarnes.ca
Tue Oct 3 16:01:54 EDT 2023


Chris Frey wrote on 2023-10-03 12:33:

> So the question is *when* the wildcard is expended. In both examples, 
> tar only changes the current working directory once it runs. Bash is 
> still running in the directory you are in. So the first example tries to 
> find systemd files relative to bash. The second example does an absolute 
> search.

Thanks yet again Chris, that's the answer!


rb


It seems to me I've encountered this very issue at some point in the 
distant past, but didn't learn from it.



More information about the kwlug-disc mailing list