Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

? renaming files using the command line

$
0
0
In principle the command line would be a mighty tool to rename files,
but I just don't seem to know the right commands,
and google searches in that respect don't seem to be very elucidating.

The problem:
I have to rename about 500 files.
The file names have upper case letters, and I would like to change them
to lowercase letters.

So I thought that commands like
Code:

mv CMBSY*.* cmbsy*.*
would be a good idea, but then I get
Code:

mv: given destination „cmbsy*.*“ is not a directory
(translated).

On the other hand, using
Code:

rename CMBSY*.* cmbsy*.*
there aren't any complaints, but just as well, NOTHING happens.

Even DOS had the command `ren' that would have made it,
but with bash / Linux ?

For many of you this probably is a trivial task.

Thanks
Mike

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>