Up to [local] / src / usr.bin / ftp
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_4_5_BASE
Revision 1.74 / (download) - annotate - [select for diffs], Mon Sep 8 19:31:16 2008 UTC (15 years, 9 months ago) by martynas
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE,
OPENBSD_4_5
Changes since 1.73: +22 -13 lines
Diff to previous 1.73 (colored)
- simplify mget(): remove the duplicate code and just use getit(), as a result it can do nice things getit() does such as: - -n: use 'newer' for transfers (fetches files that are newer on the server, than locally), this can be used for e.g. mirroring (mget -cnr 4.* would fetch missing files, continue interrupted transfers, and replace newer files of 4.X dirs) - -d: spedify depth of the recurrence. e.g. 'mget -rd 2 patches' in pub/openbsd would fetch only archive files, not going further into dirs - use static restartit, max_depth instead of doing the magic tested/requested&ok merdely@; ok pyr@, millert@ man page tweaks&ok jmc@