Upload file to S3

checks_upload_report(path, dest = "kthb/kthcorpus")

Arguments

path

the full path to the file to upload

dest

the path to the destination (s3 alias and bucket), by default "kthb/kthcorpus"

Value

exit code for upload command (0 means success)

Details

Checks for minio client being present on the system and assumes an alias "kthb" has been set up, as well as the bucket "kthcorpus" which can be achieved by setting a MC_HOST_kthb environment variable