mved 0.1 review
Download
|
|
mved project carefully rename multiple files.
At the slightest hint that you are going to destroy your files, it will bail out and tell you why.
Examples:
mved =.c~ bak/=.c.bak
mv a.c~ bak/a.c.bak
mv b.c~ bak/b.c.bak
mv c.c~ bak/c.c.bak
mved '*.[ch]' save-=.=
mv a.c save-a.c
mv a.h save-a.h
mv b.c save-b.c
mv b.h save-b.h
mved save-=.= =.=
mv save-a.c a.c
mv save-a.o a.o
mv save-b.c b.c
mv save-b.o b.o
mved note= note=.txt
mv note1 note1.txt
mv note2 note2.txt
mv note3 note3.txt
mved '[0-9][0-9][0-9][0-9][0-9][0-9]*' 19=5==6=-=3==4=-=1==2==7=
mv 191299-app.log 1999-12-19-app.log
mv 211299-app.log 1999-12-21-app.log
mv 251299-app.log 1999-12-25-app.log
mv 281299-app.log 1999-12-28-app.log
Installation:
To install (under /usr/local):
make install
To install (under /usr):
make prefix=/usr install
mved 0.1 search tags