I am trying to unzip a 7zip file from the command line like this, but I get an error with using e or x parameters. The file has only 1 .dat file inside. I get the following error.
valugi@valugi-desktop:/$ 7z x /var/www/site/data/7zip/eu/ Processing archive: /var/www/site/data/7zip/eu/file.7z can not open output file file.dat Skipping file.dat Sub items Errors: 1
I can open the file if I am opening it with the File Roller desktop application, but I want to use the command line, as I want to integrate this into a PHP script.
How can I find out what is generating this error and how can I fix it?