#!/bin/bash if test -f "$1"; then echo "Installing plugin $1..." scp $1 bevin@chenco-server:~/Apps/paper/plugins/ echo "Done!" else echo "Error: '$1' is not a file." fi