💾 Archived View for gemini.ctrl-c.club › ~de_alchmst › data › gen-links.rb.txt captured on 2024-08-31 at 12:06:22.

View Raw

More Information

⬅️ Previous capture (2024-05-26)

-=-=-=-=-=-=-

#! /usr/bin/ruby

links = [
  # what, where
  ["ruby/ptts", "crystal/ptts"]
]

links.each { |pair|
  unless File.exists? "#{ENV["HOME"]}/public_gemini/b-logs/#{pair[1]}"
    `ln -sn ~/public_html/b-logs/#{pair[0]} ~/public_html/b-logs/#{pair[1]}`
    `ln -sn ~/public_gemini/b-logs/#{pair[0]} ~/public_gemini/b-logs/#{pair[1]}`
  end
}