Keep track of the mirror target directory in an environment variable.
[mirror-admin] / doc /
drwxr-xr-x   ..
drwxr-xr-x - ftpsync