title: How to move multiple files with whitespace on linux
body: <p>Hello I'm newbie in linux, what I'm going to ask is about moving file on linux using awk and xargs, apologies if I'm reposting..</p>
  
  <p>I have apprx 1000-5000 files like this:</p>
  
  <p>-rw-rw-r--  1 wm files   77641 Mar  3 11:20 sendOrder.ZBAM.0005167032-20130503 11:20:35.txt
  <br>-rw-rw-r--  1 wm files   77647 Apr  3 11:20 sendOrder.ZBAM.0005167033-20130503 11:20:36.txt
  <br>-rw-rw-r--  1 wm files   77655 May  3 11:20 sendOrder.ZBAM.0005167034-20130503 11:20:37.txt
  <br>-rw-rw-r--  1 wm files   77661 May  3 11:20 sendOrder.ZBAM.0005167035-20130503 11:20:38.txt
  <br>-rw-rw-r--  1 wm files   77556 May  3 11:20 sendOrder.ZBAM.0005167036-20130503 11:20:39.txt
  <br>-rw-rw-r--  1 wm files   77549 May  3 11:20 sendOrder.ZBAM.0005167037-20130503 11:20:40.txt
  <br>-rw-rw-r--  1 wm files   77549 Jun  3 11:20 sendOrder.ZBAM.0005167038-20130503 11:20:41.txt
  <br>-rw-rw-r--  1 wm files   77543 Jun  3 11:20 sendOrder.ZBAM.0005167039-20130503 11:20:42.txt</p>
  
  <p>As you can see the filename contains whitespace at -20130503 11:20:42.txt, so I'm using:<br><br>
  <b>STEP 1</b><br>
  <pre><code>ls -la|grep -e "May"|awk "{print $9, $10}" > some.files</code></pre><br><br>
  <i>In step 1 I've already got the list file i want to move by month of "May" inside some.files</i><br><br>
  <b>STEP 2</b><br></p>
  
  <pre><code>xargs -0 some.files mv -t dir/newdir/</code></pre>
  
  <p>Step 2 won't work.. What am I supposed to do? I'm using Linux CentOS 5.3</p>