[Wylug-help] Scriptable FTP, creating remote archives

John Hodrien J.H.Hodrien at leeds.ac.uk
Fri Dec 2 12:26:08 UTC 2011


On Fri, 2 Dec 2011, John Hodrien wrote:

> tar cz /path/to/snapshot | lftp -c put /dev/stdin \
>         -o backup.tar.gz -u user,pass dumpserver.nixcraft.in

No doubt a quote or two would actually make that work as I suspect that won't
have a hope otherwise.

tar cz /path/to/snapshot | lftp -c "put /dev/stdin -o backup.tar.gz" \
                                 -u user,pass dumpserver.nixcraft.in

jh



More information about the Wylug-help mailing list