I have a lot of folders in a directory and some are starting with the character '
. I would like to remove these.
Example folders
- Folder.A
- 'Folder.B' <-- want to delete this
- 'Folder.C' <-- want to delete this
- Folder.D
I can get help building a string with typing echo 'My.Folder
and by pressing tab the whole name prints echo 'My.Folder.With.Full.Path'
. However. If I start typing echo '*
and press enter I'm getting some kind of input prompt starting with >
.
Running: Ubuntu 18.04.3 LTS 4.15.0-51-generic
ls -Q
and add the output to your question. – Nasir Riley Dec 31 '19 at 10:34