| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
.mirrorinfo. Fix by me to call string.lstrip(filename) to cope with a
bug in strop.strip() in Python 1.4. Additionally, I changed all print
statements that print filenames etc. to put them in backquotes so that
it will be more obvious when there's a funny character on one of them
(such as a space...).
|
|
|
|
| |
also supports filenames with multiple spaces in their name :-)
|
|
|
|
|
|
|
|
|
|
| |
This patch must hold the world record for living in my inbox:
From: John Ehresman <jehresma@dsg.harvard.edu>
Date: Wed, 23 Aug 1995 16:07:11 -0400
He provided a fix for the version that comes with Python 1.3:
ftpmirror.py revision 1.1... And it was still relevant!
|
|
|
|
|
|
| |
is used), do a recursive delete. Use -r with even more caution!
Also changed usage message into a doc string, added a comment or two,
and rearranged a long line.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
removed from .mirrorinfo. Now they are (even if -r is not specified
-- the files are not removed, just their .mirrorinfo entry).
Added a feature: the -s pattern option is also used to skip local
files when removing (i.e. -r won't remove local files matching the -s
patterns).
|
|
|
|
| |
Added some try-except statements around listdir and mkdir operations.
|
| |
|
|
|