Linux alias bash

Linux -- Posted on Aug. 24, 2017

Linux alias bash in .bash_aliases in linux ubuntu

              
                DATE=`date +%Y-%m-%d`

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

Related Posts