D
D
Dwellss2021-07-14 01:07:42
linux
Dwellss, 2021-07-14 01:07:42

How to escape a parenthesis in a file name?

My file name is:

/html/_forUpload/Color/2) Games.avi

The command line does not understand it, the problem is in the parenthesis after the number. Can it be somehow escaped so as not to rename all the files?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dwellss, 2021-07-14
@Dwellss

It turned out to be easier to just rename all the files,
rename 's/[\(\)]//g' *.avi

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question