title: python subprocess.run unable to rename a file
body: <p>I am just trying to use python to rename (mv) a file, replacing &quot;jane&quot; with &quot;jdoe&quot;;</p>
  <pre><code>line = &quot;/data/jane_profile_07272018.doc&quot;
  subprocess.run(&quot;mv ..&quot; + line + &quot; ..&quot; + line.replace(&quot;jane&quot;, &quot;jdoe&quot;))
  </code></pre>
  <p>I get this error;</p>
  <pre><code>FileNotFoundError: [Errno 2] No such file or directory: 'mv
  ../data/jane_profile_07272018.doc ../data/jdoe_profile_07272018.doc'
  </code></pre>
  <p>even tho;</p>
  <pre><code>$ ls -l ../data/jane_profile_07272018.doc
  -rw-rw-rw- 1 root root 0 Aug  2 19:51 ../data/jane_profile_07272018.doc
  </code></pre>
  <p>The file exists!  What am I doing wrong?</p>