Combining several markdown files into one

PC

  1. Use the Command Prompt.
  2. Go to the directory where the .md files exist.
  3. Type the following: copy *.md combinedFile.md

In my example above, all the .md files in the folder will copied into the 'combinedFile' file. Of course, you can name that file whatever you want!

Mac

  1. Open Terminal
  2. Use the concatenate function: cat *.md >merged.md (you can use this for .txt, .csv and any other plain text file type).
  3. Check out the new file (i.e. merged.md) in your favorite markdown editor.

BTW: Did you know that you can take .txt files and convert them to .md in the same manner? Example: cat *.txt >merged.md

Q. How can you quickly get to a folder within terminal from finder?

More Resources