scripts/relink_itunes/relink.rb
# replace characters not allowed in filenames
replace characters not allowed in filenames
replace characters not allowed in filenames
def cln(str, dot = true)
    str.gsub!('/', '_')
    str.gsub!(':', '_')
    str.gsub!('?', '_')
    str.gsub!(/\.$/, '_') if dot
    str    
end
def cln ( str , dot = true ) str . gsub! ( '/' , '_' ) str . gsub! ( ':' , '_' ) str . gsub! ( '?' , '_' ) str . gsub! ( / \. $ / , '_' ) if dot str end
replace characters not allowed in filenames
replace characters not allowed in filenames
str
<not_specific>
dot
<not_specific>