#!/bin/bash cd /root wget https://github.com/cheeaun/phanpy/releases/latest/download/phanpy-dist.zip unzip phanpy-dist.zip -d phanpy lftp -c "set ssl:verify-certificate no; open ftp://[REDACTED]; mirror -Rev phanpy/ [REMOTE]/ --only-newer --parallel=10 -X .htaccess -X robots.txt" rm -r phanpy/ phanpy-dist.zip