Skip to content

Instantly share code, notes, and snippets.

Brian Sexton bdsexton

Block or report user

Report or block bdsexton

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bdsexton
bdsexton / csv-trees.md
Last active Nov 15, 2019
Generate File System Trees in CSV Format with "tree" and "sed"
View csv-trees.md

Generate File System Trees in CSV Format with "tree" and "sed"

Description

I don't know whether this will be useful to anyone else, but I wanted to use the Linux tree command to generate file system trees in CSV format on OS X. This should work pretty much as is on Linux, although you may need or want to change the paths and optimize the usage of sed.

Dependency

This uses the Linux "tree" command, which is not standard on OS X.

You can’t perform that action at this time.