M
M
machno2014-10-31 18:39:41
linux
machno, 2014-10-31 18:39:41

How to add prefixes to a group of files?

The problem is that the mp3 player plays the tracks in alphabetical order.
But what if many of my tracks start with their number? The player turns out porridge.
633d77f4a94f4f578ab8695e05572a45.png
I googled about the rename, mv utility, but I still can’t figure out how to add a prefix to the beginning of the file name

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2014-10-31
@Rsa97

rename 's/(.*)/prefix_$1/' *.mp3

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question