Section One BBS

Welcome, Guest.


Subject: 7z archiver Date: Fri Dec 11 2015 10:59 am
From: mark lewis To: Janis Kracht

10 Dec 15 22:30, you wrote to All:

 JK> I set it up today.. not sure if it's correct though..

 JK> [af_ext]
 JK>   (other archivers...)
 JK> 7z

first question is what archives are you looking to use this archiver for... i'm 
sure you already knoe that 7z does its own format as well as pk-style zips and
i think one or two others...

 JK> [af_ident]
 JK>   (other archivers...)
 JK> 00,377ABCAF271C

i don't have a 7z archive here that i can look at but if i'm right, the above
is a hex character string starting at offset 0 and containing 6 bytes...

 JK> [af_pack]
 JK>   (...all the other archivers...)
 JK> /usr/bin/7z a -y %p %F

 JK> [af_unpack]
 JK>  (...all the other unarchive cmds...)
 JK> /usr/bin/7z a -y %p %F

[ note: i saw that you corrected this in your next post but i'm leaving this
part here just the same ;) ]

you have the same command line here for unpacking as you do for packing...
perhaps

  /usr/bin/7z e -y %p %F

or if you want to preserve the directory structure on extract

  /usr/bin/7z x -y %p %F

[ end of note ]


but i've got to ask... what is bbbs replacing the %p and %F with? is %p the
"path and name of the archive file to work with" and %F being the "filename(s)
to add to or extract from the archive"?


now, here's the good part... what i mentioned above about other archive
formats...


7z Add and eXtract: (default)

  /usr/bin/7z a -t7z -y %p %F
  /usr/bin/7z x -t7z -y %p %F


gzip Add and eXtract:

  /usr/bin/7z a -tgzip -y %p %F
  /usr/bin/7z x -tgzip -y %p %F


zip Add and eXtract: (compatible)

  /usr/bin/7z a -tzip -y %p %F
  /usr/bin/7z x -tzip -y %p %F


bzip2 Add and eXtract:

  /usr/bin/7z a -tbzip2 -y %p %F
  /usr/bin/7z x -tbzip2 -y %p %F


tar Add and eXtract: (UNIX and Linux)

  /usr/bin/7z a -ttar -y %p %F
  /usr/bin/7z x -ttar -y %p %F


iso Add and eXtract: (may not be supported)

  /usr/bin/7z a -tiso -y %p %F
  /usr/bin/7z x -tiso -y %p %F


udf Add and eXtract:

  /usr/bin/7z a -tudf -y %p %F
  /usr/bin/7z x -tudf -y %p %F


for each of these, the af_ident signature would be different... if you already
have other archivers for these and you want to switch to using 7z in place of
them, the signatures are probably already in place...


 JK> In bbbstxt I added modified line 359 to this:

 JK> ?/Quit/Text/Arc/Zip/Lzh/J/O/Hpack/Rar/7z

is 7z really located in the Rar directory?


 JK> Anyone know of the ident string maybe?  It seems to work on bbbs, and in
 JK> the Util menu it shows I selected 7z, but 7z doesn't show as an option for
 JK> archiver in AF command but I can select it as an archiver:

no clue on this but if the above basic three items i point out need to be
changed, it might start working... especially the directory question...

)\/(ark

"So let me ask you a question about this brave new world of yours. When you've
killed all the bad guys, and when it's all perfect, and just and fair, and when 
you have finally got it exactly the way you want it, what are you going to do
with the people like you? The trouble makers. How are you going to protect your 
glorious revolution from the next one?" - The twelfth Doctor

... Chocolate, it's not just for doughnuts anymore
---
 * Origin:  (1:3634/12.73)

Previous Message       Next Message