in reply to path to local file as a variable

There is no way how to get the full path. It would be considered a vulnerability if there were. Sounds a bit like XY problem - why do you need the full path?

Replies are listed 'Best First'.
Re^2: path to local file as a variable
by blowupp (Novice) on Jun 22, 2010 at 15:05 UTC
    Thanks,
    I want the full path to pass as a command line argument to a bash script that processes the large files that are already on my server.
      Where will the bash script run? On the server? Then you do not need the local path anymore, you need the server path. Or do I miss something?
        Files already exist on same machine that will run bash script; yes you are right, I need the server path.
        Path is 'almost' identical - I was planning to use sed to correct it.
        Files are not visible to intra/internet they are on a afp://shared volume
        I will contemplate the X-Y hint :-)
        thanks
        Mark