Root/bin/qippl

Source at commit 834157426afb39b4958da6f82c533d7168217376 created 8 years 9 months ago.
By Werner Almesberger, labsw/Makefile (bom): generate .lst file from eeschema
1#!/bin/sh
2
3ACCT=www-data@downloads.qi-hardware.com
4DIR=werner
5
6if [ -z "$1" ]; then
7    exec ssh $ACCT
8fi
9
10if [ "${1#-}" != "$1" -o -z "$2" ]; then
11    echo "usage: $0" 2>&1
12    echo " $0 file ... dir" 2>&1
13    exit 1
14fi
15
16while [ "$2" ]; do
17    args="$args \"$1\""
18    shift
19done
20if [ "${1#/}" = "$1" ]; then
21    dir=$DIR/$1
22else
23    dir=$1
24fi
25eval scp $args $ACCT:$dir
26

Archive Download this file

Branches:
master



interactive