Manual Page for posd

     posd(7)                  Mac OS X Darwin customization                 posd(7)

    NAME
           posd -  returns the path matching that of the frontmost finder window

    SYNOPSIS
           posd

    DESCRIPTION
           posd  is  an  osascript embedded in a shell script that returns the pwd
           corresponding to the frontmost finder window.  Its real value  is  when
           aliased  to the command cdf, i.e., cdf='cd "$(posd)"'.  The command cdf
           then changes the terminal pwd to match that  of  the  frontmost  finder
           window.   fdc  is  essentially  the  reciprocal  operation  of cdf.  It
           changes the finder window to match the pwd of the terminal in which the
           command is issued.

    AUTHOR
            Gary Kerbaugh

    SEE ALSO
           fdc(1), cdf(1)

    Mac OS X                        January 1, 2005                        posd(7)