Skip to content

Instantly share code, notes, and snippets.

@vladzadvorny
Created February 21, 2018 00:43
Show Gist options
  • Save vladzadvorny/02a53b9e8a60c67ee1eaa764df1bcdbe to your computer and use it in GitHub Desktop.
Save vladzadvorny/02a53b9e8a60c67ee1eaa764df1bcdbe to your computer and use it in GitHub Desktop.
for i in *.txt; do echo -e "\nFilename: $i\n"; cat "$i"; done > tmpfile; mv tmpfile all-files.txt;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment