ksh7534 / version-control

Conveniently make a tgz file to backup your source code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

version-control

Conveniently make a tgz file to backup your source code

Usage: ./version_control ${folder}

It'll automatically create ${FOLDER}_BACKUP (if it does not exist), and make ${folder}.${date}${time}.tgz file.

If you want to see the progress, use --verbose option to make it verbose.

For example:

    ./version_control mySource --verbose

Then, the script will automatically make a directory "MYSOURCE_BACKUP" and create mySource.xxxxxx.tgz file in that directory with verbose output.

About

Conveniently make a tgz file to backup your source code

License:GNU General Public License v2.0


Languages

Language:Shell 100.0%