next up previous
Next: filetypes Up: Configuration Previous: software mixers

archivers

When processing files inside archives OPENCP has to know how to call the programs. The following sections define the usage of different archivers supported by the OPENCP fileselector.

When substituting the command line 4 special variables are processed by the fileselector for accessing the archives:

%%
evaluates to ''%''
%a
evaluates to the archiv name preceeded by the path to process.
%n
evaluates to the filename of the file to process inside the archive.
%d
evaluates to the destination directory used to extract files out of archive.

Three default command are defined for the arc modules:

get
this command is used when a file should be extracted out of an archive.
put
if a file should be added to the archive this command line is used.
delete
with <ALT>+<k> you can delete files out of archives.

The following two archivers contain special options described below:

[arcZIP]
  get=pkunzip %a %d %n
  put=pkzip %a %n
  delete=pkzip -d %a %n
  deleteempty=on
deleteempty
the program pkzip/pkunzip used by OPENCP to process .zip files have a bug when deleting the last file inside an archive. An empty archive of 22 bytes is left on the hard disk. With this option enabled the fileselector will delete those ''zip zombies''.

[arcACE]
  get=ace32 e %a %n %d
  scaninsolid=false
scaninsolid
?


next up previous
Next: filetypes Up: Configuration Previous: software mixers
documentation by doj - homepage www.cubic.org