<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/171106</link>
    <title>MATLAB Central Newsreader - move multiple files</title>
    <description>Feed for thread: move multiple files</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Tue, 17 Jun 2008 18:28:02 -0400</pubDate>
      <title>move multiple files</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/171106#437965</link>
      <author>Sven </author>
      <description>Hi there,&lt;br&gt;
&lt;br&gt;
What's the best way to move many files, given that we have a&lt;br&gt;
cell array of all the filenames to move.&lt;br&gt;
&lt;br&gt;
It seems that the matlab movefile command can only take in&lt;br&gt;
one file at a time (wildcards can be used... but that isn't&lt;br&gt;
helpful in this instance).&lt;br&gt;
&amp;gt;&amp;gt; movefile(cell_arr_of_filenames, 'destination'); % Error&lt;br&gt;
&lt;br&gt;
When I wrap 'movefile' in a loop over my file list, things&lt;br&gt;
get very slow, and I'm sure there's a more efficient way to&lt;br&gt;
do this.&lt;br&gt;
&lt;br&gt;
Any suggestions? Perhaps I need to resort to a system('...')&lt;br&gt;
call?&lt;br&gt;
&lt;br&gt;
Thanks for any input,&lt;br&gt;
Sven.</description>
    </item>
  </channel>
</rss>

