keep file catalogers separate from file-related definitions

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
Alex Goodman
2022-03-22 17:23:13 -04:00
parent 3308079158
commit b3ca75646c
86 changed files with 305 additions and 280 deletions
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -eux
# $1 —— absolute path to destination file, should end with .zip, ideally
# $2 —— absolute path to directory from which to add entries to the archive
pushd "$2" && find . -print | zip "$1" -@ && popd
@@ -0,0 +1 @@
B file...
@@ -0,0 +1 @@
A file! nice!