Skip to content
Snippets Groups Projects
Commit 6adf3fbb authored by Alberto LIVIO BECCARIA's avatar Alberto LIVIO BECCARIA
Browse files

Added backup script

parent 68495fae
No related branches found
No related tags found
No related merge requests found
/old/*
version.txt
#!/bin/bash
ANAME=${PWD##*/}
T=`date +"%Y-%m-%d_%H%M"`
FILENAME=${ANAME}_${T}
echo "Linux "$T > version.txt
#tar cvzf ../${FILENAME}.tgz ../${ANAME}/
rar a -r -m5 ../${FILENAME}.rar ../${ANAME}/ -x../${ANAME}/node_modules
#rar a -r -m5 ../${FILENAME}.rar ../${ANAME}/
read -p "Ok"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment