We have been trying to use the info command in our scripts for comparing md5 sums of local and remote files. The problem is that info command is extremely slow to run for every single file, and we have also been having some errors associated with that command, which lead to the script's freezing.
AttributeError: ParameterError instance has no attribute 'message'
ExpatError: no element found: line 1, column 0
We have been trying to find a way of combining ls and info commands in one. Is there a way to expand the ls command, so that it also outputs the md5 sum of the file on amazons3? Or is it possible to combine both ls and info in one line, so that we can get both url and md5 sum of the remote file? So far we could not figure out a way to combine the two commands.
We will appreciate any help in this matter.