Toon posts:

[zip] Meerdere files in 1 zip file zippen in Dos

Pagina: 1
Acties:

Verwijderd

Topicstarter
Hallo,

Ik heb een eigen ftp staan bij een kennis van me. Daar zijn heel veel files op geupepd bestaande uit 14,.. mb. Dit wil ik graag zippen in 1 file.
Aangezien ik alleen site exec rechten heb (wel delete rechten enzo ofcourse) wou ik dus een batch file ervoor maken.
Maar hoe zip ik dus in dos die files in 1 file???
De search leverde heel veel arj results op maar ik wil t dus graag in een zip aangezien t voor een niet-dos kenner ook weer uit te pakken moet zijn.

  • Spider.007
  • Registratie: December 2000
  • Niet online

Spider.007

* Tetragrammaton

Waarom download je pkzip niet? Dan kun je toch alles wat je wilt, of zie ik iets over het hoofd?

---
Prozium - The great nepenthe. Opiate of our masses. Glue of our great society. Salve and salvation, it has delivered us from pathos, from sorrow, the deepest chasms of melancholy and hate


Verwijderd

pkzip is niet gratis, 7-Zip daarentegen wel. Compressie-ratio van 7-Zip is ook beter en ze hebben ook een CLI versie. Bij de documentatie staat wel hoe te gebruiken, lijkt me trouwens ook dat het antwoord op deze vraag heel makkelijk zelf gevonden had kunnen worden.

Verwijderd

Topicstarter
Heb beide opties geprobeert en een optie van een klasgenoot.
Bij winrar zit rar.exe een cli rar prog, dit was mijn oplossing

  • Hoppie
  • Registratie: Februari 2001
  • Niet online
Verwijderd schreef op 09 mei 2004 @ 13:48:
...
De search leverde heel veel arj results op maar ik wil t dus graag in een zip aangezien t voor een niet-dos kenner ook weer uit te pakken moet zijn.
en
Verwijderd schreef op 10 mei 2004 @ 00:22:
...
Bij winrar zit rar.exe een cli rar prog, dit was mijn oplossing
Heb ik nu iets gemist? Rar kan toch geen zipjes uitpoepen? :?

Verwijderd

Hoppie schreef op 10 mei 2004 @ 00:27:
[...]


en


[...]


Heb ik nu iets gemist? Rar kan toch geen zipjes uitpoepen? :?
Winrar kan met zowat alle archives enzo uit de voeten, en dus zeker ook met zip files.

  • powerflux
  • Registratie: Oktober 2003
  • Laatst online: 29-08 16:31

powerflux

Edit zich kapot@375fsb

ja, rar kan dat wel!

*zingt iets over hoe blij ik ben met winrar*

misschien is uharc een idee? heel hoge compression rates, alleen wel langzaam

if computergames really affect us, we would be running around in dark rooms and eating magic pills.


  • pasta
  • Registratie: September 2002
  • Laatst online: 29-08 10:23

pasta

Ondertitel

Verwijderd schreef op 10 mei 2004 @ 00:33:
[...]


Winrar kan met zowat alle archives enzo uit de voeten, en dus zeker ook met zip files.
WinRAR wel ja, maar we hebben het hier over de CLI van Rar, en die geeft bij een rar /? de volgende output
code:
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
RAR 3.30    Copyright (c) 1993-2004 Eugene Roshal    22 Jan 2004
Registered to - User of World -

Usage:     rar <command> -<switch 1> -<switch N> <archive> <files...>
               <@listfiles...> <path_to_extract\>

<Commands>
  a             Add files to archive
  c             Add archive comment
  cf            Add files comment
  cw            Write archive comment to file
  d             Delete files from archive
  e             Extract files to current directory
  f             Freshen files in archive
  i[par]=<str>  Find string in archives
  k             Lock archive
  l[t,b]        List archive [technical, bare]
  m[f]          Move to archive [files only]
  p             Print file to stdout
  r             Repair archive
  rc            Reconstruct missing volumes
  rn            Rename archived files
  rr[N]         Add data recovery record
  rv[N]         Create recovery volumes
  s[name|-]     Convert archive to or from SFX
  t             Test archive files
  u             Update files in archive
  v[t,b]        Verbosely list archive [technical,bare]
  x             Extract files with full path

<Switches>
  -             Stop switches scanning
  ac            Clear Archive attribute after compression or extraction
  ad            Append archive name to destination path
  ag[format]    Generate archive name using the current date
  ao            Add files with Archive attribute set
  ap<path>      Set path inside archive
  as            Synchronize archive contents
  av            Put authenticity verification (registered versions only)
  av-           Disable authenticity verification check
  c-            Disable comments show
  cfg-          Disable read configuration
  cl            Convert names to lower case
  cu            Convert names to upper case
  df            Delete files after archiving
  dh            Open shared files
  ds            Disable name sort for solid archive
  e<attr>       Set file exclude attributes
  ed            Do not add empty directories
  en            Do not put 'end of archive' block
  ep            Exclude paths from names
  ep1           Exclude base directory from names
  ep2           Expand paths to full
  f             Freshen files
  hp[password]  Encrypt both file data and headers
  idp           Disable percentage display
  ieml[addr]    Send archive by email
  ierr          Send all messages to stderr
  ilog[name]    Log errors to file (registered versions only)
  inul          Disable all messages
  ioff          Turn PC off after completing an operation
  isnd          Enable sound
  k             Lock archive
  kb            Keep broken extracted files
  m<0..5>       Set compression level (0-store...3-default...5-maximal)
  mc<par>       Set advanced compression parameters
  md<size>      Dictionary size in KB (64,128,256,512,1024,2048,4096 or A-G)
  ms[ext;ext]   Specify file types to store
  o+            Overwrite existing files
  o-            Do not overwrite existing files
  os            Save NTFS streams
  ow            Save or restore file owner and group
  p[password]   Set password
  p-            Do not query password
  r             Recurse subdirectories
  r0            Recurse subdirectories for wildcard names only
  rr[N]         Add data recovery record
  rv[N]         Create recovery volumes
  s[<N>,v[-],e] Create solid archive
  s-            Disable solid archiving
  sfx[name]     Create SFX archive
  si[name]      Read data from standard input (stdin)
  t             Test files after archiving
  ta<date>      Process files modified after <date> in YYYYMMDDHHMMSS format
  tb<date>      Process files modified before <date> in YYYYMMDDHHMMSS format
  tk            Keep original archive time
  tl            Set archive time to latest file
  tn<time>      Process files newer than <time>
  to<time>      Process files older than <time>
  ts<m,c,a>[N]  Save or restore file time (modification, creation, access)
  u             Update files
  v             Create volumes with size autodetection or list all volumes
  v<size>[k,b]  Create volumes with size=<size>*1000 [*1024, *1]
  vd            Erase disk contents before creating volume
  ver[n]        File version control
  vn            Use the old style volume naming scheme
  vp            Pause before each volume
  w<path>       Assign work directory
  x<file>       Exclude specified file
  x@            Read file names to exclude from stdin
  x@<list>      Exclude files in specified list file
  y             Assume Yes on all queries
  z<file>       Read archive comment from file

Er wordt dus niks genoemd over ZIP support ofzo. :)

Signature


  • hufkes
  • Registratie: Maart 2000
  • Laatst online: 26-08 18:43

hufkes

nee, daar staat niet hufter!

pastapappie.NET schreef op 10 mei 2004 @ 00:38:
[...]

WinRAR wel ja, maar we hebben het hier over de CLI van Rar, en die geeft bij een rar /? de volgende output
code:
1
2
3
4
5
6
7
8
RAR 3.30    Copyright (c) 1993-2004 Eugene Roshal    22 Jan 2004
Registered to - User of World -

Usage:     rar <command> -<switch 1> -<switch N> <archive> <files...>
               <@listfiles...> <path_to_extract\>

<Commands>
 [...]

Er wordt dus niks genoemd over ZIP support ofzo. :)
en probeer eens gewoon een filename met de extensie .zip? Zou me niets verbazen wanneer hij dan toch echt een zipje uitpoept en niet een rar die stiekum op .zip eindigt... Heb hier helaas geen rar om het te proberen..

[ Voor 6% gewijzigd door hufkes op 10-05-2004 06:18 ]

Onderstaande signature is al >20jr oud ***hoe dan***
---
Het internet is een veelbelovend medium
....dat maar heel weinig van zijn beloftes nakomt.
Wat weg is... raak je nooit meer kwijt :P


  • TXC
  • Registratie: Oktober 2002
  • Laatst online: 24-12-2025

TXC

Pkzip.exe kun je bijna overal zo downloaden search maar eens op google met "Index of" pkzip.exe

Hier bijvoorbeeld:
http://web.kcua.ac.jp/pub/dos/pkzip.exe

Even in een prompt "pkzip /?" en there you go zippen die handel
Pagina: 1