In terminal I can rename a single file that starts with a dash, i.e.
mv ./-file file
I can also rename all files in a directory that start with a dash, i.e.
for f in ./-*; do rename 's/-//' "$f"; done
However, how can I do this recursively. I have tried using the find command, the rename command, and a recursive for loop. By the way, a lot of the file names have more than one dash. I would only want to remove the first dash. Thanks!