Skip to content
Snippets Groups Projects
Select Git revision
  • 40b18433b38d7a6a8d2c83e57a303b611f691fea
  • master default protected
2 results

gitlab-ci.yml

Blame
  • getfrom_BBB.sh~ 504 B
    #!/bin/bash
    ###############################################################################
    # This pice of tries to scp files from the BBB to a directory $PWD/temp
    #
    # The code may be executed from anywhere on the HOST computer.
    ###############################################################################
    {
      if [ ! -d "temp" ]; then
        mkdir temp
      fi
      sudo scp -r debian@192.168.7.2:/home/debian/$1 $PWD/temp
    } || {
      echo "Could not find or transfer $1, check that the file exists on the BBB"
    }