skip to main content

Use curly braces to speed up your Terminal workflow

13 December, 2020

Posted in code
Tagged terminal

Use curly braces to perform multiple actions when dealing with files via the Terminal.

$ touch myfile-{1..4}.md

// Creates a sequence of files like so
myfile-1.md
myfile-2.md
myfile-3.md
myfile-4.md