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」みたいに使ってください。
Read, Write and Edit Meta Information! Also available --> Utility to fix Nikon NEF images corrupted by Nikon software Note: IP's that agressively download multiple copies of the distribution files or access web pages too quickly will be blocked. ExifTool is a platform-independent Perl library plus a command-line application for reading, writing and editing meta information in a wide variety of fil
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く