Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P2868
arc-paste-file
Active
Public
Actions
Authored by
Dereckson
on Apr 6 2016, 4:49 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F3838956: arc-paste-file
Apr 6 2016, 4:49 PM
2016-04-06 16:49:10 (UTC+0)
Subscribers
None
#!/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
Event Timeline
Dereckson
edited the content of this paste.
(Show Details)
Apr 6 2016, 4:49 PM
2016-04-06 16:49:10 (UTC+0)
Dereckson
changed the title of this paste from untitled to
arc-paste-file
.
Multichill
mentioned this in
T230569: General SDC data modelling session
.
Sep 29 2019, 4:39 PM
2019-09-29 16:39:45 (UTC+0)
Epidosis
mentioned this in
T341405: An "improved autofix" needed to replace non-standard statements in Wikidata, in order to keep the data model coherent
.
Jul 8 2023, 9:36 AM
2023-07-08 09:36:59 (UTC+0)
Log In to Comment