I have a program that I wrote that goes through all of the files in a directory and looks for files with a flag and then inputs them into a different program. It works great, the only thing that I am trying to do now it put the script in one location on a box, and then have it know to look in the directory that I am currently in as the working directory. Currently all I do is mv the script into whatever directory I am working in and just call it from there, but that is tedious and requires me to constantly be cp'ing the script.
I am just hoping there is a little more elegant way to do this? Any help would be appreciated.