summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--samples/klea-experiments-warcprox-2026-01-04--17873860822b20.dir-to-ia.config26
1 files changed, 26 insertions, 0 deletions
diff --git a/samples/klea-experiments-warcprox-2026-01-04--17873860822b20.dir-to-ia.config b/samples/klea-experiments-warcprox-2026-01-04--17873860822b20.dir-to-ia.config
new file mode 100644
index 0000000..de60a7c
--- /dev/null
+++ b/samples/klea-experiments-warcprox-2026-01-04--17873860822b20.dir-to-ia.config
@@ -0,0 +1,26 @@
+# Calculate SHA-256 hash of each file after uploading
+sha256=yes
+
+# Remove local file after successful upload; when disabled, only files without a filename match in the IA item get uploaded.
+rm=yes
+
+# Delay removal until IA processed the upload
+rmwait=yes
+
+# Run an SHA-1 check against the local file after the upload using the hash calculated by IA; if rm and sha1check are enabled, rmwait must also be enabled.
+sha1check=yes
+
+# Clobber existing files in IA item (no = existing copy is moved to history/files/ by IA); only meaningful with rm=yes.
+clobber=yes
+
+# Queue derive after upload (applied after every file!)
+derive=yes
+
+# Automatic size hint for item creation using the current directory size. When more data will be added, do not use this and set a value in iauploadstreamopts instead if a size hint is desired.
+autosizehint=no
+
+# Custom options for ia-upload-stream, as an array of args; this can be used to choose the part size and concurrency, for example, using (--part-size 1G --concurrency 4).
+iauploadstreamopts=()
+
+# Item metadata (array with 'key:value' elements); the only mandatory variable with no default
+metadata=('collection:opensource_media' 'mediatype:data' "date:2026-01-04" 'description:klea is silly and trying out warcprox')