title: "filename too long" bash mv command old files
body: <pre><code>#! /bin/sh -
  cd /PHOTAN || exit
  fn=$(ls -t | tail -n -30)
  mv -f -- "${fn}" /old
  </code></pre>
  
  <p>all I want todo is keep most recent 30 files... but cant get past the mv 
  "File name too long" problem</p>
  
  <p>please help' </p>