/home/rw Ein Geek. Ein Leben. Ein $HOME. Zig Systeme.

1Nov/092

AirPort Express: Geschwindigkeitstest

Für normalen Surf-Betrieb reicht die kürzlich gekaufte AirPort Express-Basisstation voll und ganz, aber taugt sie auch für größere Datentransfers im lokalen Netz? Dieser Frage bin ich heute kurz nachgegangen. Kurz gesagt lautet die Antwort "Jein".

4Jan/090

mirroring a FTP directory with rsync

(This is a translation of the post "ein FTP-Verzeichnis mit rsync spiegeln".)

The task: Mirroring a FTP directory to the local hard disk using rsync.

The problem: rsync does not work over a FTP connection.

The solution: curlftpfs.

mkdir /remote
curlftpfs -r -s ftp.example.com /remote
mkdir /local-mirror
rsync -a /remote/pub/something/ /local-mirror
umount /remote
rmdir /remote

After all using wget to accomplish the task seems way easier, but hey, sometimes you have to try new ways.

A script combining all necessary steps: rsync-ftp-mirror.

27Jul/082

ein FTP-Verzeichnis mit rsync spiegeln

(This post is also available in English: "mirroring a FTP directory with rsync")

Die Aufgabe: Ein FTP-Verzeichnis auf die lokale Festplatte spiegeln. Und zwar mit rsync.

Das Problem: rsync funktioniert nicht über eine FTP-Verbindung.

Die Lösung: curlftpfs.

mkdir /remote
curlftpfs -r -s ftp.example.com /remote
mkdir /local-mirror
rsync -a /remote/pub/something/ /local-mirror
umount /remote
rmdir /remote

Alles in allem ist die Aufgabe mit wget deutlich einfacher zu lösen, aber hey, manchmal muss man eben einfach was neues probieren.

Das ganze in Skriptform: rsync-ftp-mirror