Batch Process

From LemonWiki共筆
Revision as of 16:16, 3 March 2011 by Planetoid (talk | contribs) (→‎聲音: add Audacity)
Jump to navigation Jump to search

批次動作 (batch actions): 一次處理批量/多個檔案

批次改檔名

批次改檔名: 依據給定的規則, 重新命名多個檔案的檔名

IrfanView v.3.99


目的 原檔名 例 更名後檔名 例 Name pattern 備註
取代原檔名(不含副檔名), 取代為image### {original filename}.html image001.html ~ image020.html image###
原檔名(不含副檔名)後在加上時間(精確至秒) {original filename}.html {original filename}_2006_3_31 _ 21_46_20.html $N_$T
原檔名(不含副檔名)後在加上時間(月與日) {original filename}.html {original filename}_03-31.html $N_$T(%m-%d)
原檔名(不含副檔名)插入文字 _text abc.1, abc.2 ~ abc.20 abc_text.1 ~ abc_text.20 $N_text
更改原檔名(不含副檔名)中的固定文字 aaa 為 abc aaa_01.html, aaa_02.html ~ aaa_20.html abc_01.html, abc_02.html ~ abc_20.html $N 並且 (Set rename option) Replace text: aaa with abc URL Encoding
trivial: 原檔名(含副檔名)插入文字 .gif abc.1 ~ abc.20 abc.1.gif.1 ~ abc.20.gif.20 $F.gif 無法透過批次更名方式, 替換副檔名. 建議改用batch conversion

檔案格式的批次轉換

  • 音樂、文件、圖檔等檔案格式的批次轉換,請看File Convert


重新轉換壓縮檔的檔案格式

  • WinRAR (shareware): .zip, .rar, .cab, .lzh, .iso => what u want


聲音

修改MP3歌曲資訊(ID3Tag, metadata)


Effects: Amplify the volume of sound files, convert stereo to mono, export to mp3...

  • Batch Processing on Audacity v.1.3
    • Step1: menu > File > Edit Chains...
    • Step2: Choose multiple audio/sound files to one project
    • Step3: menu > File > Apply Chain...
    • Step4: menu > File > Export Multiple...

文件

將多個網頁製作成電子書(.chm)

簡繁體文件轉換


尋找與取代(多個檔案)的內文文字


PDF檔每頁自動插入頁碼

Adobe acrobat v.7


  • Advanced -> Batch Processing...
  • New Sequence -> Input a name for this sequence ex: Insert page number
    • Select sequence of commands: Document: Add headers & Footers
    • Switch to Footer label -> click the middle text box -> Insert Page Number: Style: 1 -> click the 'Insert' button
    • Run commands on: Ask When Sequence is Run
    • Select output location: Same Folder as Original(s)
  • Select the sequence (Insert page number), and click the 'Run Sequence' button
  • Select the file(s) to process (Note: the file need to be closed first!)

圖檔

批次修改圖形尺寸 / Resize

尋找重複的圖檔


adobe photoshop 7 批次處理影像檔

  1. 視窗 -> 動作 : 開啟動作工作視窗
  2. 步驟紀錄, 動作, 工具預設集分頁: 選擇動作分頁
  3. 開啟一個待處理的檔案
  4. 建立新增組合 -> 建立新增動作
  5. 開始紀錄各個動作步驟
  6. 停止紀錄
  7. 儲存檔案, 關閉
  8. 開啟另一個待處理的檔案
  9. 動作分頁: 播放選取的動作


一次開啟多個程式