Created
November 7, 2019 07:21
-
-
Save thatnerdjosh/7c6e36b7c261bfb03962951cc335019f to your computer and use it in GitHub Desktop.
Revisions
-
thatnerdjosh renamed this gist
Nov 7, 2019 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
thatnerdjosh created this gist
Nov 7, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ find <RELATIVE_PATH> -name '*' -exec file {} \; | grep -o -P '^.+: \w+ image' | sed 's/\:.*//' | sed 's| |\\ |g' > image_list cat image_list | xargs tar -czf images.tar.gz --files-from -