FTPMIRROR(8)
π ftpmirror(8) β the FTP mirroring bestie π
okay so bestie, welcome to ftpmirror, section 8 of the manual (iykyk, admin girlies only). sit down, grab a strawberry drink π, and let me tell you everything about this icon.
β¨ NAME β¨
ftpmirror β mirroring a whole directory hierarchy using the FTP protocol. yes, the whole thing. it's giving "copy the entire vibe, not just one file" π¦
π SYNOPSIS π
ftpmirror [package]
πΈ DESCRIPTION πΈ
ftpmirror is a utility that copies a directory hierarchy β which we lovingly call a 'mirror' β over the FTP protocol. literally the whole tree, no crumbs left behind π§
there's a similar perl script out there named mirror, and she's cute too, but ftpmirror uses less memory than mirror. so if your little machine is struggling, ftpmirror is the one holding it down. periodt π
π₯ OPTIONS π₯
okay so before we go ANY further, a lil heads up: the original documentation for ftpmirror was written in japanese. it lives in README.jis and RELEASE.jis.
if you can help translate any aspect of those files, please hit up Dario Minnucci <debian@midworld.net>. he says he'd be glad to include your contributions here to improve this manual. group project energy π«Ά
back in the day, ftpmirror's operation mode was MASTER->SLAVE, but it seems that since version 1.96 the SLAVE->MASTER (reverse mirror) is supported too. glow-up fr fr β¨
this behaviour can be controlled for each package section in the main configuration file, which is /etc/ftpmirror/ftpmirror.cf.
- MASTER->SLAVE β
get-mode = yes(default) - SLAVE->MASTER β
put-mode = yes
other configuration flags extracted from the original documentation are:
bestie, sorry, but most of them are still undocumented. we work with what we have π
todoβ string, default:full-mirrorverboseβ boolean, default:nolog-maskβ comma separated listtest-modeβ boolean, default:noftp-serverβ stringftp-gatewayβ stringftp-portβ service, default:ftpftp-bindaddrβ ip addressftp-userβ string, default:anonymousftp-passβ string, default:`whoami`@`hostname`ftp-groupβ stringftp-gpassβ stringftp-passiveβ boolean, default:no. to enable passive file transfer setftp-passivetoyes.ftp-idleβ numeric, default:0ftp-max-idleβ boolean, default:0ftp-list-methodβLISTorSTATorSTAT-AorSTAT-AT, default:STATftp-timeoutβ numeric, default:300ftp-login-retryβ numericftp-login-delayβ numeric, default:60ftp-statsβ boolean, default:noremote-timezoneβ timezone string, default:undefhttp-proxyβ stringserverβ stringpackageβ stringput-modeβ boolean, default:nounlinkβ boolean or'rename', default:yesunlink-limitβ size value, default:0ftp-force-mtimeβ boolean, default:noignore-mtimeβ boolean, default:notemp-directoryβ pathname, default:$TMPDIR || /tmplock-directoryβ pathname, default:temp-directorycreate-directoryβ boolean, default:yesremote-directoryβ stringlocal-directoryβ pathnamemaster-db-directoryβ pathnameremote-db-directoryβ pathnamelocal-db-directoryβ pathnamelslR-fileβ stringlslR-copyβ pathnametransfer-file-regexpβ regexptransfer-directory-regexpβ regexpoverride-file-regexpβ regexpoverride-directory-regexpβ regexpload-local-dirinfoβ boolean, default:nostore-local-dirinfoβ boolean, default:noload-remote-dirinfoβ boolean, default:nooverride-file-uidβ uid, default:0override-file-gidβ uid, default:0override-file-modeβ octal value, default:0644override-directory-modeβ octal value, default:0755default-file-uidβ uid, default:0default-file-gidβ gid, default:0default-file-modeβ octal value, default:0644default-directory-modeβ octal value, default:0755
π EXAMPLES π
ftpmirror ships a 'ready-to-use' sample package, just for testing purposes. if you wanna run the provided test package, you need to issue the following commands β and yes, both commands must be run by the same user (no switching mid-way, bestie, that's not the vibe):
mkdir -p /tmp/upstream
/usr/bin/ftpmirror upstream
this package should copy the directory hierarchy from the original author's FTP location, which is ftp://ftp.intec.co.jp/pub/utils/ftpmirror, straight to your local hard drive at /tmp/upstream. so satisfying when it lands π¦
β IMPORTANT CONSIDERATION β
bestie. listen. the inclusion of this configuration is intended to be used occasionally. please don't abuse this site. we are guests there, okay? be polite, be humble, don't be that person. π
π SEE ALSO π
for other supported configuration options, go peek at /etc/ftpmirror/ftpmirror.cf, where you'll find commented examples. little cheat sheet, tucked right there for you π
π AUTHOR π
ftpmirror was originally written by Ikuo Nakagawa <ikuo@intec.co.jp> π
this manual page was written by Dario Minnucci <debian@midworld.net>, for the Debian project (but may be used by others). icon behaviour fr π
and that's the whole page, bestie π shoutout to Dario Minnucci <debian@midworld.net> for writing this one, dated June 1, 2007, living in section FTPMIRROR(8). go mirror something and slay πβ¨π¦
π¦ where this page comes from
- debian bookworm: ftpmirror 1.96+dfsg-16+b5 Β· other
- debian trixie: ftpmirror 1.96+dfsg-16.1+b2 Β· other
- ubuntu jammy: ftpmirror 1.96+dfsg-16build3 Β· other
- ubuntu noble: ftpmirror 1.96+dfsg-16build7 Β· other
- ubuntu questing: ftpmirror 1.96+dfsg-16.1build1
- ubuntu resolute: ftpmirror 1.96+dfsg-16.2 Β· other
- ubuntu stonking: ftpmirror 1.96+dfsg-16.2build1 Β· other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms