#!/bin/bash # A small script for copy pasting files and directories. # # Marcel Kapfer (mmk2410) # # 15 August 2015 # # GNU GPL v3 -> feel free to re-distribute of fork it # # Version: 0.1 FILE=/tmp/cpypst function paste { if [[ -d "$FILE" ]]; then cp -R "$FILE" "$1" elif [[ -f "$FILE" ]]; then cp $FILE $1 fi } usage=$( cat<