zip_del()

Read(128) Label: zip, delete,

Description:
 
 Delete one or more files from a zip file.

Syntax:
   zip_del(zip, files)

Note:

  The function removes one or more specified file from a zip file.

Parameters:

zip

A zip file ovject

files  

A compressed file or a FileObject; can be a sequence

Return value:
A Boolean value

Example:

 

A

 

1

=zip_open("D:/z2.zip")

Open a zip file

2

=zip_del(A1, "dir1/*.java")

Delete all .java files in z2.zip

3

>zip_close(A1)

Close a zip file