Created
August 27, 2012 18:14
-
-
Save therod/3491002 to your computer and use it in GitHub Desktop.
rocr-folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rocr' | |
files = Dir.glob("#{ARGV.first}/*_Bild.pdf") | |
Dir.chdir(ARGV.first) | |
puts "WORKING DIRECTORY: #{Dir.pwd}" | |
files.each do |file| | |
puts "Converting: #{file}" | |
Rocr::Command.run(file) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment