Skip to content

Real world: common commands

Franco Corbelli edited this page Sep 27, 2024 · 3 revisions

THE MOST COMMON COMMANDS

zpaqfranz has many commands, but let's focus on the most important ones.

a (add) is the command to add data to a .zpaq archive.

I have already covered it, so I won't go into further detail.

zpaqfranz a d:\thebackup.zpaq c:\data

i (info) is the command to get information about an archive.

How many versions it contains, when they were created, etc. There are many switches (refer to the related pages), but the most straightforward way to use it is simply:

zpaqfranz i nameofthe.zpaq

This will display the version number, the date, how many files were added, how many were removed, and the compressed size.

l (list file inside an archive)

You can also run this directly with:

zpaqfranz l nameofthe.zpaq

There's one switch worth remembering, which is -all. This will show information for all versions instead of just the latest (which is the default).

t (test) command,

which you can call directly, for example with:

zpaqfranz t nameofthe.zpaq

x (extract) command,

is somewhat more complex, so I refer you to the relevant documentation.

Even though it is more complex than the other commands, its basic usage is straightforward. To extract all files from an archive (in the original position), you can simply use:

zpaqfranz x nameofthe.zpaq

To extract the files present "somewhere", you can use the -to switch followed by the directory where you want the files to be extracted:

zpaqfranz x nameofthe.zpaq -to extracted_folder/

There are other advanced commands and options for handling more complex scenarios, but for most users, the commands mentioned (a, i, l, t, x) will cover almost all common needs.

As you can see, you don't need extensive expertise to use zpaqfranz, as you can rely on the default parameters.

Clone this wiki locally