summaryrefslogtreecommitdiff
path: root/html.rb
diff options
context:
space:
mode:
Diffstat (limited to 'html.rb')
-rwxr-xr-xhtml.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/html.rb b/html.rb
new file mode 100755
index 0000000..f1adc4b
--- /dev/null
+++ b/html.rb
@@ -0,0 +1,7 @@
+#!/usr/bin/env ruby
+root = ARGV[0]
+tree = {
+ "music" => Dir[File.join(root, "music", "*")],
+ "videos" => Dir[File.join(root, "videos", "*")],
+}
+p tree