Error in unzipping a file from a python script running as daemon
- by Fedrick
I am getting an error whenever i try to run following unzip command from a python script which is running as a daemon
Command :
unzip abcd.zip /dev/null
Error
End-of-central-directory signature not found$ a zip file, or it
constitutes one disk of a multi-part archive. In the latter case
the central directory and zipfile comment will be found on the last
disk(s) of this archive
unzip: cannot find zipfile directory in one of abcd.zip$
abcd.zip.zip, and cannot find abcd.zip.ZIP, period.
Could anyone help me in this regard?
Thanks in advance.