title: Detect & remove leading space in file or folder name
body: <p>I need to detect and remove lot of leading spaces on my folders &amp; files.</p>
  
  <p>i try some code like :</p>
  
  <pre><code>find /home/account -depth -name " *" -exec sh -c 'f="{}"; mv -v "$f" "...."' \;
  </code></pre>
  
  <p>but i couldn't find any code to remove leading space from filename or folder.</p>
  
  <p>i need to :</p>
  
  <pre><code>mv "/home/account/folder/ folder 1"  "/home/account/folder/folder 1"
  </code></pre>
  
  <p>(because i use find, and make it detect leading spaces on sub folders)</p>
  
  <p>how do i remove those leading space with code that i mentioned above ?
  any advice would help.
  btw, i'm using centos 7.</p>