Skip to content

Instantly share code, notes, and snippets.

View makelinux's full-sized avatar

Costa Shulyupin makelinux

View GitHub Profile
@radixvinni
radixvinni / dir2dot.pl
Last active October 29, 2022 02:16
Plot directory or file tree structure graph with graphviz neato
#!/usr/bin/perl
# dir2dot.pl v0.5 (C) [email protected], released under the GPL.
# Download from: http://www.chaosreigns.com/code/
#
# Generates a directed graph of a directory tree using graphviz like so:
#
# find . -type d -print | perl dir2dot.pl > dirtree.dot
# neato -Tpng dirtree.dot > dirtree.png
#