Skip to content

Instantly share code, notes, and snippets.

View gliborgmx's full-sized avatar

Grupo Linuxero del Bajío gliborgmx

View GitHub Profile
@gliborgmx
gliborgmx / site-sync.sh
Last active August 29, 2015 14:12
script for mirror geeklog site using lftp
#!/bin/bash
LFTP=`which lftp` || exit "Can't find lftp"
SITE=ftp://user@example.com
show_help()
{
echo "This script will mirror, using lftp, the site."
echo ""
echo "-h\t\tthis message"