I'm trying to delete a folder my music collection folder. With the command
ls -al /mnt/media/Music/
I can see the folder - only it has a ?
at the end of the name, so it looks like this:
drwxrwxr-x 1 reuben reuben 0 Mar 3 15:24 Twin Shadow - Eclipse (2015) [FLAC]?
but when I try to delete it with this command:
rmdir /mnt/media/Music/Twin\ Shadow\ -\ Eclipse\ \(2015\)\ [FLAC]\?/
Then I get this:
rm: cannot remove '/mnt/media/Music/Twin Shadow - Eclipse (2015) [FLAC]?/': No such file or directory
I'm confused; what am I missing? I hope it's not something really obvious!
/mnt/media/Music/Twin\ Shadow\ -\ Eclipse\ \(2015\)\ \[FLAC\]?/
(or - simpler - enclose the whole thing in quotes) - if in doubt, typermdir /mnt/media/Music/Twin
and then hit the TAB key to autocomplete