Skip to content

Instantly share code, notes, and snippets.

View dnetix's full-sized avatar

Diego Calle dnetix

View GitHub Profile
@dnetix
dnetix / co_action.sh
Last active November 21, 2018 20:32
Prepares basic actions over installed projects
#! /bin/bash
# Prepares sites to be updated though the install.sh
ORIGIN_PATH=/var/www/vhosts/placetopay.com/sites/
HOME_PATH=/home/diegocalle/
BACKUP_PATH=/home/diegocalle/backup/co_
ACTION=$1
cd ${HOME_PATH}