[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Smart version of mv ?



Paolo Pantaleo wrote:

with MSDOS mv (or move, i don't remember the name) you can do
mv *.c *.cpp
that is a quite smart thing, i think :)

with Unix mv... you can't. You have to use find and sed (at least so i know)

Is there a nice program that can do things like:
TheSmartMove "*.c" "*.cpp"

Thnx
PAolo
Others have posted good solutions. You can use this also

mmv -r '*.cpp' '#1.c'

For more details do 'man mmv'

raju

--
Kamaraju S Kusumanchi
Graduate Student, MAE
Cornell University
http://www.people.cornell.edu/pages/kk288/



Reply to: