Page MenuHomeDevCentral

/home/dereckson/bin/arc-paste-file

Authored By
dereckson
Nov 21 2015, 00:59
Size
217 B
Referenced Files
None
Subscribers
None

/home/dereckson/bin/arc-paste-file

#!/bin/sh
if [ $# -eq 0 ]
then
echo "Usage: `basename $0` <filename>"
exit 1
fi
FILE=$1
if [ ! -f $FILE ]
then
echo "File not found: $FILE"
exit 2
fi
arc paste --title $FILE < $FILE

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
11632
Default Alt Text
/home/dereckson/bin/arc-paste-file (217 B)

Event Timeline