Closed numblr closed 6 years ago
The sequence number of the part can be retrieved from a replacement string from in the command argument in parallel
, which makes hex conversion, adding line numbers and the related storage of the data in shell variables obsolete.
Merged in #8.
To implement the part upload chunks of the file are kept in shell variables and processed using
echo -n
(mainly to determine the range of the chunk). It seems to be more efficient to store those large variables to a temporary file, see e.g. here: https://superuser.com/questions/279141/why-is-reading-a-file-faster-than-reading-a-variableAn alternative mechanism to determine the range might be an other option.