lehrkraefte:blc:informatik:glf24:bash:gitbashcommands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lehrkraefte:blc:informatik:glf24:bash:gitbashcommands [2025/02/02 11:25] Ivo Blöchligerlehrkraefte:blc:informatik:glf24:bash:gitbashcommands [2025/02/11 08:30] (current) Ivo Blöchliger
Line 4: Line 4:
 <code bash> <code bash>
 function zip() { function zip() {
-        dir="$1" +        echo "Running powershell Compress-Archive ${1} $(basename "$1").zip" 
-        echo "Running powershell Compress-Archive $1 $1.zip" +        powershell Compress-Archive "$1" "$(basename "$1")".zip
-        powershell Compress-Archive "$1" "$1".zip+
 } }
 </code> </code>
  • lehrkraefte/blc/informatik/glf24/bash/gitbashcommands.1738495551.txt.gz
  • Last modified: 2025/02/02 11:25
  • by Ivo Blöchliger