File: zipnote.txt

package info (click to toggle)
zip 3.0-11
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 5,820 kB
  • ctags: 6,308
  • sloc: ansic: 50,445; asm: 3,907; makefile: 858; sh: 42
file content (63 lines) | stat: -rw-r--r-- 1,909 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
zipnote(1)                                                          zipnote(1)

NAME
       zipnote  -  write  the comments in zipfile to stdout, edit comments and
       rename files in zipfile

SYNOPSIS
       zipnote [-w] [-b path] [-h] [-v] [-L] zipfile

ARGUMENTS
       zipfile  Zipfile to read comments from or edit.

OPTIONS
       -w     Write comments to a zipfile from stdin (see below).

       -b path
              Use path for the temporary zip file.

       -h     Show a short help.

       -v     Show version information.

       -L     Show software license.

DESCRIPTION
       zipnote writes the comments in  a  zipfile  to  stdout.   This  is  the
       default  mode.  A second mode allows updating the comments in a zipfile
       as well as allows changing the names  of  the  files  in  the  zipfile.
       These modes are described below.

EXAMPLES
       To write all comments in a zipfile to stdout use for example

            zipnote foo.zip > foo.tmp

       This  writes all comments in the zipfile foo.zip to the file foo.tmp in
       a specific format.

       If desired, this file can then be edited to  change  the  comments  and
       then used to update the zipfile.

            zipnote -w foo.zip < foo.tmp

       The  names of the files in the zipfile can also be changed in this way.
       This is done by following lines like
            "@ name"
       in the created temporary file (called foo.tmp here) with lines like
            "@=newname"
       and then using the -w option as above.

BUGS
       The temporary file format is rather  specific  and  zipnote  is  rather
       picky  about it.  It should be easier to change file names in a script.

       Does not yet support large (> 2 GB) or split archives.

SEE ALSO
       zip(1), unzip(1)

AUTHOR
       Info-ZIP

                              v3.0 of 8 May 2008                    zipnote(1)