Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helpful quick terminal alternative #9

Open
pauljones0 opened this issue Jun 6, 2024 · 1 comment
Open

Helpful quick terminal alternative #9

pauljones0 opened this issue Jun 6, 2024 · 1 comment

Comments

@pauljones0
Copy link

Hi guys, if you want to get the same result, without starting a docker container, and running all the code, you can git clone the repo, then run the following:

find ./FOLDERTOCLONEHERE -type f -print | sort | xargs awk 'BEGINFILE {printf "\n\\\047\\\047\\\047---"; print FILENAME; printf "---\\\047\\\047\\\047\n"} {print} ENDFILE {printf "\n\\\047\\\047\\\047---\n"}' > NAMEOFOUTPUTFILEHERE.txt

If this code is wrong, please comment below as such.

Figured I should post this here, as it's saved me time, hopefuly others find it the same way. Maybe this should be added to the README? If not, may the adventurous find their answers here.

@JeremiahPetersen
Copy link
Owner

Hi Paul, ty for sharing this! I will test it out later and if it all works, I'll definitely add it to the readme :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants