TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Quickly create a nested folder structure via Terminal

3 pointsby krogerabout 5 years ago

1 comment

krogerabout 5 years ago
I didn&#x27;t know about:<p><pre><code> {A..C}{0..3} </code></pre> &quot;This sequence creates every combination of A to C and 0 to 3—i.e. A0, A1, A2, A3, B0, B1, etc.&quot;<p>And:<p><pre><code> echo {a..z..2} a c e g i k m o q s u w y </code></pre> &quot;The ..2 bit tells the expansion to only output every second letter.&quot;