summaryrefslogtreecommitdiff
path: root/html.rb
diff options
context:
space:
mode:
authorpdp8 <pdp8@pdp8.info>2022-08-21 15:09:38 +0200
committerpdp8 <pdp8@pdp8.info>2022-08-21 15:09:38 +0200
commitec4c08d91081de6d9c7404742c70a94cea250dce (patch)
treed8279f6196ec2f4d94d86aa6138a568989367fd6 /html.rb
parent5cc948cbe8f1e36c61f4e224a5ad74a8a975dbfd (diff)
html snippets
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