in add()
-exec_ok something.bat (launch a script with archivename as parameter)
-copy somewhere (write a second copy of the archive into somewhere)
Add 2nd copy to USB drive (U): a "z:\f_???.zpaq" c:\nz\ -copy u:\usb
Launch pippo.bat after OK: a "z:\g_???.zpaq" c:\nz\ -exec_ok u:\pippo.bat
https://github.com/fcorbelli/zpaqfranz/issues/5
These switches are designed to make a second copy of the archives (typically multipart) on removable media (eg USB). By default, a check is performed after copying. This slows down, but is safer with potentially less reliable media.
Into exec_ok you can put a DELETE of the main archive, because zpaqfranz cowardly make only a copy, not a move
If the archive is not a multipart (aka a single ZPAQ) it will copied entirely on the 2nd media, and this can take a long time. In future a -append switch will make things much faster (just like rsync --append). For safety reason now requires a free space largest of the file to be written. In future, with -append, will become ... smart