Mercurial > ec-dotfiles
view bin/patren @ 526:f579b5310a1b
Add script to map linux ata drive numbering.
author | edogawaconan <me@myconan.net> |
---|---|
date | Sat, 09 Aug 2014 00:24:45 +0900 |
parents | 94ee419ad047 |
children |
line wrap: on
line source
#!/usr/bin/env ruby TITLE_MAPS={ "otaku no musume-san" => 1 } TITLE_REAL={ 1 => "Otaku no Musume-san" } def get_title end ARGV.each do |file| next unless File.file?(file) and File.readable?(file) end