User Tools

Site Tools


eric:computer:bash:shell_scripting:tree.sh.2014.05.20

Title: tree.sh.2014.05.20
Created: 2018-04-29 22:51:32 +0000

#!/bin/bash
# tree command reconstructed (directory listing)

# output the starting directory
echo
echo "Directory tree starting at: $1"
echo "Current as of: "`date`
echo

find $1 -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'
eric/computer/bash/shell_scripting/tree.sh.2014.05.20.txt · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki