Tebe
Tebe

Reputation: 3214

Bash - parentheses quoting filename doesn't work

I can't quote the name whatever I do.

enter image description here

I noticed that ' is replaced somehow to ` when bash complains.

In the same time I can open file using nautilus.

Any ideas?

Upvotes: 0

Views: 82

Answers (2)

choroba
choroba

Reputation: 241858

The quotes are just part of the message, not the filename. Try echo *.dbf | xxd to see the exact character codes (The first character might be P as well as Cyrillic R etc., or there might be an invisible character somewhere.)

Upvotes: 1

Diego Velez
Diego Velez

Reputation: 1893

try escaping the parenthesis

file example\(textinside\).txt 

Upvotes: 0

Related Questions