[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

FTP server: ls-lR file and mirroring



When mirroring with the Perl mirror script, one option is to use a file 
containing a ls of the server, which can be downloaded from that server
( the ls_lR_file option).

Besides usually being faster, this has the benefit that even long mirror
chains don't get into trouble with the time stamps. There's a disadvantage
as well: if the contents of a mirror don't match the file, you won't notice
except some files can't be fetched.

Anyway, this is currently mostly working fine with the Debian FTP archive,
except for two minor nits.

First, it doesn't get any dot files, like .message. A simple solution
to making those visible is to use ls -laR or - slightly more compatible (in
case someone is bothered by the . and .. entries) ls -lAR. Does anybody
see any problems with that change?

Second, it seems that currently, the ls-lR file doesn't mention itself. This
means that it might not get mirrored.

For any files that are regenerated (like ls-lR and ls-lR.gz), can we please
make sure that one incarnation exists in the ls-lR file, even if it may be
an old one?


Reply to: