Skip navigation

Monthly Archives: July 2011

I use to keep my library image updated with the cool tree utility of my linux bash.
With the -d option I print directories only, while with -R I crawl down the whole directory tree of my library.

OUTPUT_FILE="~/myMusic.txt"
ROOT="~/Music/"
echo -e "$( date +%d\ %B\ %Y )\n" > "$OUTPUT_FILE"
tree "$ROOT" -Rd >> "$OUTPUT_FILE"

Output example:

21 July 2011
/home/piero/Music/
 ├── 2 Pac
 │   └── Greatest Hits
 │       ├── cd one
 │       └── cd two
 ├── 883
 │   └── The Best Of
 ├── AA.VV
 │   └── No New York 1979
 ├── AC DC
 │   ├── Back in Black 1980
 │   └── Best of ACDC
 ├── A Certain Ratio
 │   ├── Early 2002
 │   │   ├── early cd1
 │   │   └── early cd2
 │   └── To Each 1981
 ...

Essential, practical, Bauhaus.
Great!

Advertisements

90’s sweet 90’s.

[further into: EN | IT]