Computer/Linux

rename: 리눅스에서 파일이름 바꾸기툴

장선생™ 2005. 11. 2. 12:03
RENAME(1)           Linux Programmer's Manual           RENAME(1)
NAME
      rename - Rename files
SYNOPSIS
      rename from to file...
DESCRIPTION
      rename will rename the specified files by replacing the first occurrence of from in
      their name by to.
      For example, given the files foo1, ..., foo9, foo10, ..., foo278, the commands
             rename foo foo0 foo?
             rename foo foo0 foo??
      will turn them into foo001, ..., foo009, foo010, ..., foo278.
      And
             rename .htm .html *.htm
      will fix the extension of your html files.
SEE ALSO
      mv(1)
-
= foo1, ... , foo9, foo10, ..., foo278 을 foo001, ..., foo009, foo010, ..., foo278로 바꾸려면
  --> rename foo foo0 foo? 하고나서 rename foo foo0 foo??
= *.htm 파일을 *.html 로 바꾸려면 --> rename .htm .html *.htm