I am trying to upload multiple pdf files to ArcGIS Online content all at once.
Is there is a script that I can use to add content to ArcGIS Online?
I found my answer in a GeoNet thread named Python script to Add PDF to My Content.
We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.