This question already has an answer here:

I don't understand why zsh and bash (ls) show me lots of filename inside apostrophes, but not all:

'joe rilla - mauern fallen.mp3'
'yoshi blessed - everybody free.mp3'

I tried to remove the ' like here with rename and bash:

Removing apostrophe from all file names

But without success. It tells me "A and B are the same file".

How can I get rid of the apostrophes?

marked as duplicate by Jeff Schaller, garethTheRed, don_crissti, Anthon, roaima Jun 7 '16 at 22:27

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


It isn't an apostrophe in the filename. The filenames that have whitespaces are getting 'wrapped'.

  • Ok. I see. I had the suspicion now but after the question was posted. thanks – haheute Jun 7 '16 at 15:52

Not the answer you're looking for? Browse other questions tagged or ask your own question.