Rename 은 리눅스에서 파일 이름을 쉽게 바꿔줍니다.
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)
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)
예제 입니다.
1. foo1, ... , foo9, foo10, ..., foo278 을 foo001, ..., foo009, foo010, ..., foo278로 바꾸려면
--> rename foo foo0 foo? 하고나서 rename foo foo0 foo??
2. *.htm 파일을 *.html 로 바꾸려면
--> rename .htm .html *.htm


이올린에 북마크하기
이올린에 추천하기


