Acrobatã®ãããããã£ããéããæããããªãã¨ã«ãªã£ã¦ããPDFãè¦ããã¨ã¯ãªãã ãããã ããããã¡ã¤ã«åã¯ã¡ããã¨ãã¦ãã®ã«ããã¿ã¤ãã«ï¼ãæ¬ãæã®ååã§ã§ã¦ãã¾ãâ¦ããã®ã¾ã¾ã ã¨ãã¡ãã£ã¨æ¥ããããã£ã¦æãPDFã®ã¡ã¿ãã¼ã¿ããã¡ã¤ã«åã§ä¸æ¬ç½®æããããã«ãã¾ãã # coding: utf-8 #Exifã«å«ã¾ããã¿ã¤ãã«ããã¡ã¤ã«åã«ç½®ãæããã #require 'rubygems' require 'mini_exiftool' ARGV.each do |my_file| tmp_f = MiniExiftool.new(my_file) tmp_f['Title'] = my_file.sub(/\.pdf/, '') tmp_f.save end ãmini_exiftoolãã使ãã¾ããããruby script.rb *.pdfãã¿ããã«ä½¿ã£ã¦ãã ããã
{{#tags}}- {{label}}
{{/tags}}