Context
I am using s4cmd within github actions to upload the files to S3, also i am using --sync-check flag to ensure files that are already uploaded are not uploaded again and i am using both dsync for directory level sync and combination of put and del for file level uploads and deletes.
The result can either be that the file is
- already synced and does not require output
- Uploaded
- Deleted
What i want
I want this output to be in a json format so that i can easily parse and display the status (synced, uploaded and deleted) in the UI
Context
I am using s4cmd within github actions to upload the files to S3, also i am using
--sync-checkflag to ensure files that are already uploaded are not uploaded again and i am using bothdsyncfor directory level sync and combination ofputanddelfor file level uploads and deletes.The result can either be that the file is
What i want
I want this output to be in a json format so that i can easily parse and display the status (synced, uploaded and deleted) in the UI