[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Sat May 8 08:58:01 2004 -->
- <!--x-from-r13: xnobbz ng tngrpu.rqh (Quevf Dvpxre) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: 1083880036.588.1.camel@bsd -->
- <!--x-reference: [email protected] -->
- <!--x-reference: 1083966617.17854.5.camel@pip --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Shell Scripting -> find files *.<ext> and move them to /backup -->
- <li><em>date</em>: Sat May 8 08:58:01 2004</li>
- <li><em>from</em>: kaboom at gatech.edu (Chris Ricker)</li>
- <li><em>in-reply-to</em>: <1083966617.17854.5.camel@pip></li>
- <li><em>references</em>: <<a href="msg00229.html">[email protected]</a>> <1083880036.588.1.camel@bsd> <<a href="msg00237.html">[email protected]</a>> <1083966617.17854.5.camel@pip></li>
- <li><em>subject</em>: [ale] Shell Scripting -> find files *.<ext> and move them to /backup</li>
> On Thu, 2004-05-06 at 17:53, Jason Etheridge wrote:
> > > find / -name "*.jpg" -exec mv /mnt/mymachine/ {} \;
> >
> > mv might have trouble across filesystems. Could do a cp and then a rm.
>
> No, you're thinking of 'ln'. mv will happily move a file wherever,
> even if it must copy and unlink.
He might be thinking of mv. It now does a copy when going between
filesystems, but that's relatively new, and at least the Gnu mv still has
corner cases turning up where mv'ing between filesystems doesn't always Do
The Right Thing.
later,
chris
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00312" href="msg00312.html">[ale] Shell Scripting -> find files *.<ext> and move them to /backup</a></strong>
<ul><li><em>From:</em> phasefx at magusaptus.com (Jason Etheridge)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00229" href="msg00229.html">[ale] Shell Scripting -> find files *.<ext> and move them to /backup</a></strong>
<ul><li><em>From:</em> ale1 at cybertechcafe.net (Nathan J. Underwood)</li></ul></li>
<li><strong><a name="00234" href="msg00234.html">[ale] Shell Scripting -> find files *.<ext> and move them to /backup</a></strong>
<ul><li><em>From:</em> robertheaven at earthlink.net (Robert Heaven)</li></ul></li>
<li><strong><a name="00237" href="msg00237.html">[ale] Shell Scripting -> find files *.<ext> and move them to /backup</a></strong>
<ul><li><em>From:</em> phasefx at magusaptus.com (Jason Etheridge)</li></ul></li>
<li><strong><a name="00286" href="msg00286.html">[ale] Shell Scripting -> find files *.<ext> and move them to /backup</a></strong>
<ul><li><em>From:</em> danscox at mindspring.com (Danny Cox)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00297.html">[ale] TV tuner card problem</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00299.html">[ale] TV tuner card problem</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00289.html">[ale] Shell Scripting -> find files *.<ext> and move them to /backup</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00312.html">[ale] Shell Scripting -> find files *.<ext> and move them to /backup</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00298"><strong>Date</strong></a></li>
<li><a href="threads.html#00298"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>