You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently trying to rewrite a bash script which copies files from a camera via curl to a WEBDAV server to upload the files to S3 storage. Part of this is to check if folders for month and day exist and if not, create them.
While testing, I did ${S3CMD} ls s3://bodycam/2024/${MONTH} && echo yes || echo no
I noticed that s3cmd seems to always return 0, no matter if the operation was successful, i.e. if the folder exists or not I always get "yes".
Not sure if that makes sense...
The text was updated successfully, but these errors were encountered:
I'm currently trying to rewrite a bash script which copies files from a camera via curl to a WEBDAV server to upload the files to S3 storage. Part of this is to check if folders for month and day exist and if not, create them.
While testing, I did
${S3CMD} ls s3://bodycam/2024/${MONTH} && echo yes || echo no
I noticed that s3cmd seems to always return 0, no matter if the operation was successful, i.e. if the folder exists or not I always get "yes".
Not sure if that makes sense...
The text was updated successfully, but these errors were encountered: