Listing files recently became intermittent then just plain stopped working.
I dug in and found this line:
https://github.com/andreafabrizi/Dropbox-Uploader/blob/master/dropbox_uploader.sh#L1167
which has this sed command:
local DIR_CONTENT=$(sed -n 's/.*: \[{\(.*\)/\1/p' "$RESPONSE_FILE" | sed 's/}, *{/}\
{/g')
which looks for colon space open-square-braket.
The issue was that there was no space in between the colon and bracket in the /tmp/du_resp_temp file.
when I changed that to:
local DIR_CONTENT=$(sed -n 's/.*: *\[{\(.*\)/\1/p' "$RESPONSE_FILE" | sed 's/}, *{/}\
{/g')
everything started working again.
Will see about making a pull request soon but in the mean time wanted to post this in case is saves anyone else a little time.
Listing files recently became intermittent then just plain stopped working.
I dug in and found this line:
https://github.com/andreafabrizi/Dropbox-Uploader/blob/master/dropbox_uploader.sh#L1167
which has this sed command:
which looks for colon space open-square-braket.
The issue was that there was no space in between the colon and bracket in the /tmp/du_resp_temp file.
when I changed that to:
everything started working again.
Will see about making a pull request soon but in the mean time wanted to post this in case is saves anyone else a little time.