There is an answer that is very useful to me in this thread about renaming folders with trailing whitespaces: Remove Leading or Trailing Space(s) in File or Folder Names
What I can't figure out how I can change the following command so that it also changes the names in subfolders.
rename -n 's/ *$//' *
I obviously already tried to check this myself with "rename -h" but I can;t see the solution.
Can someone help me with this?
Thanks a lot in advance,