Trying to use python script to untar archive in uploads


#1

Hello,

I’m attempting to untar an archive called masks.tar.gz in my uploads folder. I wrote a short python script to do this:

tar xvzf input/masks.tar.gz -C outputs

and sent it to Neptune, but this fails instantly without an error log. I have also tried combinations such as

tar xvzf uploads/masks.tar.gz -C outputs

tar xvzf input/masks.tar.gz

tar xvzf uploads/masks.tar.gz

and nothing works. Can you help me out?


#2

Hi,

When in cloud environment, your input path should begin with a /, like /input/masks.tag.gz

Let me know if this help,

Regards,
Hubert