Re: mv multiple files

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

 



Kaushal Shriyan schrieb:

Hi

I did

#mv *.cpp *.c

It didnot worked

Thanks

Kaushal

for file in *.cpp
   do mv ${file} ${file%cpp}c
done

Or: man rename

Alexander


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux