title: xargs and find, rm complaining about \n (newline) in filename
body: <p>I am trying to delete the oldest file in a tree with a script in Debian.</p>
  
  <pre><code>find /home/backups -type f \( -name \*.tgz -o -name \*.gz \) -print0 | xargs -0 ls -t | tail -1 | xargs -0 rm
  </code></pre>
  
  <p>But I am getting an error:</p>
  
  <pre><code>rm: cannot remove `/home/backups/tree/structure/file.2011-12-08_03-01-01.sql.gz\n': No such file or directory
  </code></pre>
  
  <p>Any ideas what I am doing wrong (or is there an easier/better way?), I have tried to RTFM, but am lost.</p>