Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9123234
create_deposit_with_metadata.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
492 B
Subscribers
None
create_deposit_with_metadata.sh
View Options
#!/usr/bin/env bash
.
./default-setup
ARCHIVE
=
${
1
-
'../../swh-deposit.zip'
}
ATOM_ENTRY
=
${
2
-
'../../atom-entry.xml'
}
STATUS
=
${
3
-
'--no-partial'
}
EXTERNAL_ID
=
${
4
-
'external-id'
}
./swh-deposit
\
--username
${
USER
}
\
--password
${
PASSWORD
}
\
--collection
${
COLLECTION
}
\
--archive-deposit
\
--archive
${
ARCHIVE
}
\
--metadata-deposit
\
--metadata
${
ATOM_ENTRY
}
\
--slug
${
EXTERNAL_ID
}
\
${
STATUS
}
\
--url
${
SERVER
}
/1
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sat, Jun 21, 5:11 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3239763
Attached To
rDDEP Push deposit
Event Timeline
Log In to Comment