Ubuntu – Create a new User with custom Home Directory and add to “www-data” group

# copy from existing skel
cp -r /etc/skel /etc/skel-for-web-users
cd /etc/skel-for-web-users
sudo mkdir configs logs web web/public_html
cd logs
touch error.log
touch access.log

# verify contents with
tree /etc/skel-for-web-users
# should output
├── configs
├── logs
│   ├── access.log
│   └── error.log
└── web
    └── public_html

4 directories, 2 files

Cmder – Windows Setup

Using Git Bash Settings -> Integration: Command: `/single /icon D:\_cmder\icons\cmder_red.ico -run {Git Bash}` Icon File: `”D:\_cmder\icons\cmder_red.ico”`

Rsync – Basic usage

rsync -avz -e "ssh -p 6395"* public_html/wp-content/uploads

HTTrack – Mirror online documentation for offline viewing

httrack -%v -v -qwr9999%e1C4%Ps0u1%s%uN0%Ip3DaK0H0%kf2A25000%f#f -F "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826" -%F "" -%l "en, *" +*.js +*.css +*.svg +*.woff2 +*.otf +*.ttf* +*.gif +*.jpg +*.jpeg +*.png +*.tif +*.bmp** -O1 "."