Add a file prefix with MV

Advertisement

Guest

Add a file prefix with MV

Is there a way to add a prefix to a file using mv? I'm finding the prefix is substituted for the leading characters rather than appended to the beginning using
mv *.* PREFIX*.*

What occurs is LongerFileName.txt is moved as PREFIXFileName.txt
What I'd like is PREFIXLongerFileName.txt

Any thoughts?

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum