I'm trying to pass a path as a string to an array, but its evaluating it as a command instead. (sorry im new at this, forgive me
I want to take the literal string "/mnt/accounts/user/temp/*.jpg"
and assign it to an array{1}, but when i echo the array variable, it displays it as
pic1.jpg
pic2.jpg
pic3.jpg
etc
etc
...
I just want it to be the actual text "/mnt/accounts/user/temp/*.jpg"
which i will be combining with other text to create a longer path elsewhere in the code.
Is there some special quotes or something i need to put around it?
thx
PiN