4
rated 0 times
[
4]
[
0]
/ answers: 1 / hits: 2664
/ 1 Year ago, sat, february 25, 2023, 10:59:58
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,
Chris
More From » command-line