<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://www.linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Sun May 19, 2013 5:53 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Sun May 19, 2013 5:53 pm</pubDate>
  <lastBuildDate>Sun May 19, 2013 5:53 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://www.linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Re: How can I tell if a file has finished copying?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=107274#107274</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5'&gt;nelz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sat Aug 04, 2012 7:05 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      lsof will tell you if the copy process still has a lock on the file. Or you could use the wait command to check when the process has completed.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=107274#107274</comments>
                                        <author>nelz</author>
                                        <pubDate>Sat Aug 04, 2012 7:05 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=107274#107274</guid>
                                      </item>
                                      <item>
                                        <title>How can I tell if a file has finished copying?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=107273#107273</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=2793'&gt;MartyBartfast&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sat Aug 04, 2012 4:44 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Hi folks,&lt;br /&gt;
&lt;br /&gt;
 Ive got a file being copied onto a server (via ftp or scp), when it arrives I need to copy it onto somewhere else.&lt;br /&gt;
&lt;br /&gt;
is there a neat/simple way for me to know for sure that the file has arrived in it's entirity before I try and copy it on?&lt;br /&gt;
&lt;br /&gt;
I could do md5sum $file; sleep 2s ; md5sum $file and compare the two sums to know that it's not still being written but that seems a bit messy to me.&lt;br /&gt;
&lt;br /&gt;
Any other thoughts?</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=107273#107273</comments>
                                        <author>MartyBartfast</author>
                                        <pubDate>Sat Aug 04, 2012 4:44 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=107273#107273</guid>
                                      </item></channel></rss>