Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. Programmation
  3. Développement de logiciels
  4. C#
  5. NetZip

NetZip

Scheduled Pinned Locked Moved C#
2 Posts 2 Posters 1.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    D
    davydavek
    wrote on last edited by
    #1

    <p>Hello, suite a mon récent tutoriel a propos des fichiers ZIP, j'ai eu envie de faire un petit projet pour tout mettre en pratique.</p>
    <p></p><blockquote class="ipsStyle_spoiler" data-ipsspoiler=""><img alt="fc7ebfc941.png" src="https://puu.sh/e7bkD/fc7ebfc941.png"/></blockquote><p></p><p>C'est un simple utilitaire en ligne de commande, conçu pour être facile a utiliser.</p>
    <p>Chaque commande (6 au total) exécute une action précise, et rien d'autre- vous pouvez aussi soumettre des arguments au commandes.</p>
    <p> </p>
    <p>Liste des commandes/ sous commandes</p>
    <p></p><blockquote class="ipsStyle_spoiler" data-ipsspoiler="">
    <pre>
    Get file in main args[0]
    [1]: Main command
    [2,3 ...]: main command args

    -l list : List all files
    -s : List file sizes
    -cs: List compressed file sizes

    -e extract [folderName]: Extract to folder [folderName] (if used: Unzipped(x)))

    -a add [fileName]: Add a file to the archive
    -d: Adds a directory

    -d delete [entryName]: Delete [entryName] from archive
    -d: Deletes a directory

    -c create [ToAdd]: Create a new entry
    -d: Creates archive with a directory

    h help [command]: Displays help about the command</pre>
    <p></p></blockquote><p></p><p>Lors du lancement, il faut spécifier un chemin vers le fichier .zip (exception: la commande help), puis le nom du fichier sera sauvegarder dans la mémoire du programme donc le même fichier sera utiliser automatiquement pour les commandes suivantes, jusqu’à ce qu'un nouveau fichier sois spécifier ou la fermeture du programme.</p>
    <p> </p>
    <p>Exemples d'utilisations:<br/>
     </p>
    <blockquote class="ipsQuote" data-ipsquote=""><div>
    <p>netzip foo.zip list // Liste le contenu de l'archive "foo.zip"</p>
    <p>netzip foo.zip extract folder // Extrait le contenu de l'archive "foo.zip" vers le dossier "folder"</p>
    <p>netzip foo.zip add test.txt // Ajoute le fichier "test.txt" a l'archive "foo.zip"</p>
    <p>netzip foo.zip delete test.txt // Supprime le fichier "test.txt" de l'archive "foo.zip"</p>
    <p>netzip foo.zip create test.txt // Creer une nouvelle archive "foo.zip", et ajoute le fichier "test.txt" dedans</p>
    <p>netzip help // Affiche la liste des commandes et une bref description</p>
    <p>netzip help create // Affiche la documentation de la commande "create"</p>
    </div></blockquote>
    <p> </p>
    <p>Je l'ai dev assez rapidement pendant le weekend a la fin des vacances, donc j'aurais besoin de retour pour pouvoir corriger des bugs le plus vite possible.</p>
    <p> </p>
    <p>GitHub: <a href="https://github.com/DavyWk/NetZip" rel="external nofollow">https://github.com/DavyWk/NetZip</a></p>
    <p>DL:<a href="http://davydavek.olympe.in/Projects/NetZip/NetZip.exe" rel="external nofollow">http://davydavek.olympe.in/Projects/NetZip/NetZip.exe</a></p>
    <p>VT: <a href="https://www.virustotal.com/en/file/c5d32b2918c8c5f532e292ce676067c6ff31d9020b9d2c3bfe082a5660772e91/analysis/1420844336/" rel="external nofollow">https://www.virustotal.com/en/file/c5d32b2918c8c5f532e292ce676067c6ff31d9020b9d2c3bfe082a5660772e91/analysis/1420844336/</a></p>
    <p> </p>
    <p>Davy</p>

    C# dev
    github.com/DavyWk

    1 Reply Last reply
    2
    • AzadA
      AzadA
      Azad
      wrote on last edited by
      #2

      <p>Merci du partage, ça servira pour les futurs projets ! 🙂 <br/>
      +1 point de réputations.</p>

      Administrateur du forum.
      Contactez-moi par message privé ou par mail.

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups