save.sh 439 B

12345678910
  1. #!/usr/bin/bash
  2. # rar a -r -s -qo+ -ag-YYYY-MM-DD-NN -m5 sudoku .git/ src/ sudoku/ vendor/ .gitignore Cargo.* test-out
  3. # This is great, except rar/unrar not available on rpi OS.
  4. STAMP=`date +"%Y-%m-%d"`
  5. tar --exclude="target" -zcvf sudoku.${STAMP}.tar.gz sudoku/ .git/ src/ vendor/ .cargo/ .gitignore Cargo.* test-out
  6. # rar a -r -s "-x*/target/" -qo+ -ag-YYYY-MM-DD-NN -m5 sudoku .git/ src/ sudoku/ vendor/ .gitignore Cargo.* test-out