Skip to content

Instantly share code, notes, and snippets.

@oranblackwell
Created December 6, 2013 10:48
Show Gist options
  • Save oranblackwell/7821856 to your computer and use it in GitHub Desktop.
Save oranblackwell/7821856 to your computer and use it in GitHub Desktop.
Various combinations of storing directories and files in a text file in a combination of structures. PC.
# flat directory/file listings
"dir > top-level-folders.txt"
"dir /s > dir.txt" same as above but recursive
"dir /s /w > dir.txt" to get rid of time and date info, etc
# Directory Tree
# /A adjusts the visual tree - adds + and -, and \ for last parent of each level
tree /A > just-folder-structure.txt
tree /A /F > file-and-folder-structure.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment