Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F13166
/home/dereckson/bin/arc-paste-file
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
dereckson
Nov 21 2015, 00:59
2015-11-21 00:59:28 (UTC+0)
Size
217 B
Referenced Files
None
Subscribers
None
/home/dereckson/bin/arc-paste-file
View Options
#!/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
Details
Attached
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)
Attached To
Mode
P134 /home/dereckson/bin/arc-paste-file
Attached
Detach File
Event Timeline
Log In to Comment