Support

UNiTE, Remote CLI, eXtract Wizard

#30096 – Is there a way to use the ExtractWizard on command line on a windws system?

Posted in ‘UNiTE, Remote CLI, eXtract Wizard’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 23 August 2018 16:41 CDT
Is there a way to use the ExtractWizard on command line on a windws system? I use the pro version on some sites and some of my customers use the WP version as well. I wrote a FTP Auto Downloader für the stuff to bring this to my NAS every evening and i would like to integrate the ExtractWizard on command line to check that the download is valid.

Is that possible?

Regards,
Andreas
Custom Fields
Which tool do you want support for? Akeeba ExtractWizard
Tool version (in x.y.z format) latest
seoBOXX
Friday, 24 August 2018 01:06 CDT
The installation package includes two tools, Akeeba eXtract Wizard and Extract CLI. See https://github.com/akeeba/nativexplatform/wiki

You may need to add the installation folder to your path. The installation folder is detailed in https://github.com/akeeba/nativexplatform/wiki/Installation-and-uninstallation

Then you can run Extract CLI with:

extractCLI c:\path\to\archive.jpa c:\path\to\extract\into [-p JpsPassword] [--test]

The things in brackets are optional parameters. Since you only want to test the archive you could do

extractCLI c:\path\to\archive.jpa %temp% --test

or if you have a JPS file

extractCLI c:\path\to\archive.jps %temp% -p YourJPSPassword --test

The %temp% is a Windows shorthand which always points to the Windows temp folder. We are using it as our extraction target because the tool requires an extraction target folder even if nothing is extracted.

The --test option makes sure that nothing is, in fact, extracted to disk. extractCLI will go through the entire process of reading the file, decompressing the files etc but the extracted data will be discarded. Moreover, if the extraction fails it will return the command line error level to 250.

Yes, my use case writing this tool was similar to yours. I wanted to make sure that the archives I am generating with the backup engine can be extracted by both Kickstart and eXtract Wizard. So I wrote CLI interfaces to both which allowed me to automate my tests.


Nicholas K. Dionysopoulos

Lead Developer and Director



Greek: native

English: excellent

French: basic



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



nicholas
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!

Cookies Notification - Action required

This website uses cookies to provide user authentication and improve your user experience. Please indicate whether you consent to our site placing these cookies on your device. You can change your preference later, from the controls which will be made available to you at the bottom of every page of our site.