Command line problem (excessive drive crawl)

2005-03-11
2012-12-08
  • Michael Scheer
    Michael Scheer
    2005-03-11

    Hi everybody && Igor,

    I have a problem with a command line. What I do (aoto generated...):

    1. CD to O:\PGP-Schlssel\ 2. Execute H:\Programme\7-Zip\7z.exe a -t7z -mx=9 -r -Y "O:\~bc6c3f88.7z\Crypto.7z" *.pkr *.skr *.asc *.ini *.head -x!*-bak-* -i!"O:\PGP263in\???ring.pgp" -i!"S:\pw.kdb" -i!"M:\pww.key"

    Now the -r cause 7z to crawl through my complete H drive! Why?

     
    • Igor Pavlov
      Igor Pavlov
      2005-03-11

      try to find more simple example.

       
      • Michael Scheer
        Michael Scheer
        2005-03-15

        7z.exe a -t7z -mx=9 -r -Y "O:\test.7z" *.pkr -i!"M:\jap.conf"

        As I said, I CD'ed to the directory where the *.pkr are. (O:\...)

        With  -i!"M:\jap.conf" (which exists) 7z scans the complete H-Drive (where 7z is located, where %programfiles% is)

        Without  -i!"M:\jap.conf" it works fine und does add the *.pkr to the archive very quickly. The paths in my command line are all in "", because the command line is autmatically generated and I have to take care of spaces...

         
    • Michael Scheer
      Michael Scheer
      2005-03-15

      I still dont know why it scans h but I found out I have to take

      -ir-!"M:\jap.conf"

      which works fine.