dkoug Blog

Linux alias bash

Linux -- Posted on Aug. 24, 2017

Linux alias bash in .bash_aliases in linux ubuntu

1
2
3
DATE=`date +%Y-%m-%d`

alias backup= 'tar --exclude='env' --exclude='virtualenv' --exclude='bower_components' --exclude='node_modules' -zcvf ~/myprojects_"${DATE}".tar.gz ~/myprojects/'