Skip to content

Instantly share code, notes, and snippets.

@stefanjudis
Created July 29, 2019 20:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stefanjudis/e6a844fe927f6d3b6b982414f98023c5 to your computer and use it in GitHub Desktop.
Save stefanjudis/e6a844fe927f6d3b6b982414f98023c5 to your computer and use it in GitHub Desktop.
create-dirs-recursively.sh
mkdir -p new-dir/{foo,baz}/whatever-{1,2}/{a,b};
exa --tree new-dir;
# new-dir
# ├── baz
# │ ├── whatever-1
# │ │ ├── a
# │ │ └── b
# │ └── whatever-2
# │ ├── a
# │ └── b
# └── foo
# ├── whatever-1
# │ ├── a
# │ └── b
# └── whatever-2
# ├── a
# └── b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment