metasploit-framework/data/sounds/aiff2wav.rb

8 lines
141 B
Ruby
Executable File

#!/usr/bin/env ruby
Dir.open(".").entries.grep(/.aiff$/).each do |inp|
out = inp.gsub(".aiff", ".wav")
system("sox #{inp} #{out}")
end