Skip to content

Instantly share code, notes, and snippets.

@MarlonJD
Created January 10, 2022 14:16
Show Gist options
  • Save MarlonJD/64612418fc39038fb1da4469dee73f8b to your computer and use it in GitHub Desktop.
Save MarlonJD/64612418fc39038fb1da4469dee73f8b to your computer and use it in GitHub Desktop.
for dir in .; do
git -C "$dir" ls-files | perl -pe "s[^][$dir/]"
done | zip ./test.zip -@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment