If you do that, then you should probably be ready to use a 'cp', if the source and destination <br>aren't on the same device (e.g. just in case /tmp becomes a separate filesystem)<br><br><div class="gmail_quote">
On Tue, Jun 1, 2010 at 9:57 PM, Lakshmipathi.G <span dir="ltr"><<a href="mailto:lakshmipathi.g@gmail.com">lakshmipathi.g@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
If you don't have any issue- in using system calls directly ,then instead of <br>system("mv source target").<br>use - <br>link ("source","target") // creat hard link <br>unlink ("source") // remove old link <br>
<br>[check "man 2 link" and "man 2 unlink" for more details]<br clear="all"></blockquote></div><br>-- <br>Stephen Samuel <a href="http://www.bcgreen.com">http://www.bcgreen.com</a> Software, like love, <br>
778-861-7641 grows when you give it away<br>