Page MenuHomeDevCentral

arc-paste-file
No OneTemporary

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/x-shellscript
Expires
Wed, Oct 14, 21:04 (5 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4144905
Default Alt Text
arc-paste-file (217 B)

Event Timeline