Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9338106
create_deposit_atom.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
381 B
Subscribers
None
create_deposit_atom.sh
View Options
#!/usr/bin/env bash
.
./default-setup
ATOM
=
${
1
-
'../../atom.xml'
}
PROGRESS
=
${
2
-
'false'
}
curl
-i
-u
"
$CREDS
"
\
--data-binary
@
${
ATOM
}
\
-X
POST
\
-H
"In-Progress:
${
PROGRESS
}
"
\
-H
'Content-Type: application/atom+xml;type=entry'
\
-H
'Slug: external-id'
\
-H
'Packaging: http://purl.org/net/sword/package/SimpleZip'
\
${
SERVER
}
/1/
${
COLLECTION
}
/
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Jul 4 2025, 8:32 AM (7 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3239611
Attached To
rDDEP Push deposit
Event Timeline
Log In to Comment