Page MenuHomeDevCentral

arc-paste-file

Authored By
dereckson
Apr 6 2016, 16:48
Size
217 B
Referenced Files
None
Subscribers
None

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
arc-paste-file (217 B)

Event Timeline