#!/bin/bash work_dir=”/home/steve/workspace/va_temp2016″ work_t2016e=$work_dir/themes/twentysixteen-english www_dir=”/var/www/va.tst/public_html” www_t2016e=$www_dir/wp-content/themes/twentysixteen-english user_work=”steve” group_work=”steve” clear echo “** Menu **” echo “0 checkout twentysixeeen-english” echo “1 checkin twentysixteen-english” read menuchoice if [ $menuchoice = 0 ] then echo “checking out tweentysixteen-english” rsync -av –chown $user_work:$group_work $www_t2016e/ $work_t2016e elif …

rsync Read more »

rsync -aHAX source dest -u flag will “copy only when the SOURCE file is newer than the destination file or when the destination file is missing”. And the -a (archive) flag will be recursive -P or –progress shows progress for …

rsync Read more »

You can look at the apt log under /var/log/apt/ and the dpkg log under /var/log/ and you can get the list of the installed packages with just a command: dpkg -l | grep ‘^ii ‘ To list all installed packages, …

apk Read more »

Creating your workspace he first thing we need to do is create our workspace environment: user@host ~ $ mkdir -p ~/git/testing ; cd ~/git/testing Once all your project files are in your workspace, you need to start tracking your files …

GIT Read more »