Hi,
I'm trying to write a shell script that accepts wildcards as arguments. But instead of the wildcards expanding into the list of files from the current directory, I'd like to have them expand into files from another directory.
For example,
I have a script called test.sh in the folder /home/skulkarni
The folder listing for /home/skulkarni is as follows
#ls
test.sh
abc.txt
abd.txt
When test.sh is given a wildcard argument *, is it possible (either directly or through a workaround) for the script to interpret the wildcard on a different folder.
Thank you,
With regards,
Srihari Kulkarni