Hi, >>"G" == G John Lapeyre <[EMAIL PROTECTED]> writes:
G> How do I get a mirror program to either copy symlinks and the files G> and directories they point to. or follow the sym link and simply G> copy what it points to G> I have tried every mirroring program I can find. I note you have not tried the grand-dady, amusing called mirror. Or wget -r. ______________________________________________________________________ Mirror can handle symbolic links but not ordinary links. It does not duplicate owner or group information. If you require any of these options, use rdist(1) instead. ______________________________________________________________________ G> They all just copy the symlink and not the file. The man pages G> don't address the problem at all. I have tried fmirror, lftp and G> lurkftp. ______________________________________________________________________ If the remote site contains symlinks that you want to "flatten out" into the corresponding files, then do this by changing the flags passed to the remote ls: flags_recursive+L or flags_nonrecursive+L First test this by trying a ls -lRatL on the remote site under the ftp command to check whether the remote file- store has any symlink loops. ====================================================================== make_bad_symlinks If true, symlinks will be made to invalid (non-existent) pathnames. Under older verĀ sions this defaulted to true. [false] follow_local_symlinks Regexp of pathnames that should be followed to the file or directory they point at. This makes local symlinks invisible to mirĀ ror. [''] ______________________________________________________________________ manoj -- "The road to hell is paved with melting snowballs." --Larry Wall in <[EMAIL PROTECTED]> Manoj Srivastava <[EMAIL PROTECTED]> <http://www.datasync.com/%7Esrivasta/> Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E