Remote WordPress File Dump with wget & ftp (excluding uploads dir)

Put this in a bash script and execute it:

#!/bin/bash
wget -X /PATH/TO/WP_ROOT/wp-content/uploads -r -nH -nc ftp://FTP_USER:FT_PPW@FTP_HOST//WP_ROOT

Beitrag veröffentlicht

in

, , ,

von