프로젝트
GitHub에서 보기
thameera/vimv
소개
Vim을 사용한 파일 일괄 이름 변경
개발 도구What you can do
- If you want to list only a group of files, you can pass them as an argument. eg: vimv *.mp4
- If you have an $EDITOR environment variable set, vimv will use its value by default.
- If you are inside a Git directory, vimv will use git mv (instead of mv) to rename the files.
- You can use /some/path/filename format to move the file elsewhere during renaming. If the path is non-existent, it will be automatically created before moving.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalvimv
vimv is a terminal-based file rename utility that lets you easily mass-rename files using Vim.
Installing
- For the current user:
curl https://raw.githubusercontent.com/thameera/vimv/master/vimv > ~/.local/bin/vimv && chmod +755 ~/.local/bin/vimv - For the current system:
sudo PREFIX=/usr/local make install
Or simply copy the vimv file to a location in your $PATH and make it executable.
Usage
- Go to a directory and enter
vimvwith optionally, a list of files to rename. - A Vim window will be opened with names of all files.
- Use Vim's text editing features to edit the names of files. For example, search and replace a particular string, or use visual selection to delete a block.
- Save and exit. Your files should be renamed now.
Other features
- If you want to list only a group of files, you can pass them as an argument. eg:
vimv *.mp4 - If you have an
$EDITORenvironment variable set, vimv will use its value by default. - If you are inside a Git directory, vimv will use
git mv(instead ofmv) to rename the files. - You can use
/some/path/filenameformat to move the file elsewhere during renaming. If the path is non-existent, it will be automatically created before moving. - Cyclic renames are supported (file1 <-> file2)
Screencast

Running tests
Tests are written using bats. To run the tests:
git submodule update --init
./test/bats/bin/bats test/test_vimv.bats
관련 프로젝트 살펴보기
불러오는 중…