Skip to content

Instantly share code, notes, and snippets.

@epierpont
Created January 11, 2022 20:45
Show Gist options
  • Save epierpont/1ff53535ab95df5001006bc4ec90ed56 to your computer and use it in GitHub Desktop.
Save epierpont/1ff53535ab95df5001006bc4ec90ed56 to your computer and use it in GitHub Desktop.

Revisions

  1. epierpont created this gist Jan 11, 2022.
    2 changes: 2 additions & 0 deletions git-gzip-dir-and-files.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    // https://stackoverflow.com/questions/12331633/how-to-gzip-all-files-in-all-sub-directories-into-one-compressed-file-in-bash
    tar -zcvf compressed.tar.gz folder-to-compress