Skip to content

Instantly share code, notes, and snippets.

@alordiel
Created January 16, 2020 11:31
Show Gist options
  • Select an option

  • Save alordiel/532950df52529e63c729144173105806 to your computer and use it in GitHub Desktop.

Select an option

Save alordiel/532950df52529e63c729144173105806 to your computer and use it in GitHub Desktop.

Revisions

  1. alordiel created this gist Jan 16, 2020.
    7 changes: 7 additions & 0 deletions un-gzip-all-filer.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    #!/bin/bash
    FILES=$(find public_html -type f -name '*.gz')
    for f in $FILES
    do
    gzip -d $f
    # take action on each file.
    done