Software >> OS >> Unix >> How to remove or move files starting with - (hyphen or dash)

e.g. to remove a file or directory named -1 find . -name '-*' -exec rm -rfi {} \; References: [1] https://www.cyberciti.biz/faq/linuxunix-move-file-starting-with-a-dash/ [2] https://www.cyberciti.biz/faq/unix-linux-remove-strange-names-files/