Skip to navigation
Example to mirror a wordpress page with lftp
24.03.22
#!/bin/bash lftp -e 'set ftp:ssl-allow no; mirror --exclude wp-config.php --exclude-glob *.sh --exclude-glob *.hgignore --exclude .hg/ --exclude ../wp-content/plugins/bw-coupon --exclude katzx/ --exclude phpmyadmin/ --exclude muse/ --verbose --parallel=10 --delete --use-pget-n=10 /httpdocs/ ../' -u 'user','password' foo.bar.com
https://www.tutorialspoint.com/unix_commands/lftp.htm
Reply
Anonymous
Information Epoch 1732506732
Save trees.
Home
Notebook
Contact us