Zum Inhalt springen

Developer Snippets

My little Snippet library.

Neueste Beiträge

  • JS: Mask all except the last four digits
  • Docker, check all log files
  • Delete *.log files older then 30 days
  • Find Files by Age and copy them to another directory
  • Search with grep and zip file results

Kategorien

  • .git
  • #!/bin/bash
  • Allgemein
  • Docker
  • HTML5
  • Javascript
  • Linux
  • Odoo
  • PHP
  • Terminal / Shell / Cli
  • Windows

Zip files and exclude subdirectories

zip -r zipfile.zip directoryToZip -x  directoryToZip /subdirectoryToExclude/*  directoryToZip/SecondSubdirectoryToExclude /*
Veröffentlicht am 31. Oktober 201931. Oktober 2019Autor Alexander StroschkeKategorien #!/bin/bash, LinuxSchlagwörter Bash, Linux, zip

Beitrags-Navigation

Zurück Vorheriger Beitrag: Encrypt Bitlocker Drive in Linux
Weiter Nächster Beitrag: Search for a string in files and save the result
Stolz präsentiert von WordPress