Quick reference on how to work with (not only) DO spaces
Use tool calleds3cmd
Initialize:s3cmd --configure
List buckets:s3cmd ls
List files:s3cmd la --recursive
Upload files:s3cmd put file.txt s3://spacename/path/
Remove files:s3cmd rm s3://spacename/name/of/file