<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: mv question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337186#M874444</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;so my solution works and even copies the .dot files.&lt;BR /&gt;Wouldn't it be fair to assign points for that?&lt;BR /&gt;&lt;BR /&gt;Franky</description>
    <pubDate>Wed, 21 Jul 2004 06:34:27 GMT</pubDate>
    <dc:creator>Franky_1</dc:creator>
    <dc:date>2004-07-21T06:34:27Z</dc:date>
    <item>
      <title>mv question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337174#M874432</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;I have this directory /appl/appl , &lt;BR /&gt;I want to move the whole directory to /appl .&lt;BR /&gt;&lt;BR /&gt;What is the best way ?&lt;BR /&gt;&lt;BR /&gt;BYE</description>
      <pubDate>Wed, 21 Jul 2004 04:09:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337174#M874432</guid>
      <dc:creator>chapaya_1</dc:creator>
      <dc:date>2004-07-21T04:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: mv question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337175#M874433</link>
      <description>cd /appl/appl&lt;BR /&gt;mv * ..&lt;BR /&gt;&lt;BR /&gt;rm -f appl1&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jul 2004 04:14:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337175#M874433</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2004-07-21T04:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: mv question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337176#M874434</link>
      <description>&lt;BR /&gt;mv /appl/* /appl&lt;BR /&gt;rmdir /appl/appl&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jul 2004 04:15:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337176#M874434</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-07-21T04:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: mv question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337177#M874435</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;just type&lt;BR /&gt;&lt;BR /&gt;cd /appl/appl&lt;BR /&gt;tar cfv - .|(cd ../; tar xfv -)&lt;BR /&gt;cd ..&lt;BR /&gt;rm -r appl&lt;BR /&gt;&lt;BR /&gt;That's it&lt;BR /&gt;&lt;BR /&gt;Franky</description>
      <pubDate>Wed, 21 Jul 2004 04:18:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337177#M874435</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-07-21T04:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: mv question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337178#M874436</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can try&lt;BR /&gt;&lt;BR /&gt;cd /appl&lt;BR /&gt;tar cf - appl | (cd / ; tar xvf -)&lt;BR /&gt;rmdir /appl/appl&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Frederic</description>
      <pubDate>Wed, 21 Jul 2004 04:19:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337178#M874436</guid>
      <dc:creator>Frederic Sevestre</dc:creator>
      <dc:date>2004-07-21T04:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: mv question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337179#M874437</link>
      <description># cd /appl/appl&lt;BR /&gt;&lt;BR /&gt;# find . -dept -print | cpio -pudmv /appl&lt;BR /&gt;&lt;BR /&gt;# cd /appl&lt;BR /&gt;&lt;BR /&gt;# rm -r /appl/appl&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jul 2004 04:21:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337179#M874437</guid>
      <dc:creator>YoungHwan, Ko</dc:creator>
      <dc:date>2004-07-21T04:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: mv question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337180#M874438</link>
      <description>Could I just add to Michael and Mark's excellent answers that you may have files that start with . (dot) so you should also do:&lt;BR /&gt;&lt;BR /&gt;cd /appl/appl&lt;BR /&gt;mv .* ..&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Wed, 21 Jul 2004 04:22:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337180#M874438</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-07-21T04:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: mv question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337181#M874439</link>
      <description>&lt;BR /&gt;I got this :&lt;BR /&gt;&lt;BR /&gt;hp1:&amp;gt;pwd&lt;BR /&gt;/appl/appl&lt;BR /&gt;hp1:&amp;gt;mv * ..&lt;BR /&gt;hp1:&amp;gt;ls&lt;BR /&gt;.cshrc     .exrc      .login     .profile    &lt;BR /&gt;hp1:&amp;gt;mv .* ..&lt;BR /&gt;mv: ../.: rename: Device busy&lt;BR /&gt;mv: .. and .. are identical&lt;BR /&gt;hp1:&amp;gt;ll&lt;BR /&gt;total 0&lt;BR /&gt;&lt;BR /&gt;The files moved but i got this error ...</description>
      <pubDate>Wed, 21 Jul 2004 04:36:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337181#M874439</guid>
      <dc:creator>chapaya_1</dc:creator>
      <dc:date>2004-07-21T04:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: mv question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337182#M874440</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;another way to do it:&lt;BR /&gt;&lt;BR /&gt;cd /&lt;BR /&gt;mv /appl/appl /temp_dir&lt;BR /&gt;rm -rf /appl&lt;BR /&gt;mv /temp_dir /appl&lt;BR /&gt;&lt;BR /&gt;Frank.</description>
      <pubDate>Wed, 21 Jul 2004 04:38:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337182#M874440</guid>
      <dc:creator>Francisco J. Soler</dc:creator>
      <dc:date>2004-07-21T04:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: mv question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337183#M874441</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;this happened, because you also tried to moved '.' and '..' in the upper directory.(where this files already exists.)&lt;BR /&gt;You can ignore this error message.&lt;BR /&gt;But maybe '..' isn't there any more?&lt;BR /&gt;Check it with 'll -a'&lt;BR /&gt;&lt;BR /&gt;Then type 'cd /apps' to move one step up.&lt;BR /&gt;&lt;BR /&gt;Volkmar</description>
      <pubDate>Wed, 21 Jul 2004 04:44:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337183#M874441</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2004-07-21T04:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: mv question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337184#M874442</link>
      <description>Actually, mine answer had a bug in it :(&lt;BR /&gt; &lt;BR /&gt;The worry of moving ".*" is that it'll take the current directory and the parent directory too.&lt;BR /&gt; &lt;BR /&gt;Really it should be something like&lt;BR /&gt; &lt;BR /&gt;mv /appl/appl/.[!.]* /appl&lt;BR /&gt;mv /appl/appl/* /appl&lt;BR /&gt;rmdir /appl/appl</description>
      <pubDate>Wed, 21 Jul 2004 05:53:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337184#M874442</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-07-21T05:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: mv question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337185#M874443</link>
      <description>Sory, I'd overlooked the fact that it would try to move . and .. : I have mv aliased so it asks for confirmation on each file. Always a good idea (unless there are a very large number of files in the directory).&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Wed, 21 Jul 2004 06:31:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337185#M874443</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-07-21T06:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: mv question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337186#M874444</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;so my solution works and even copies the .dot files.&lt;BR /&gt;Wouldn't it be fair to assign points for that?&lt;BR /&gt;&lt;BR /&gt;Franky</description>
      <pubDate>Wed, 21 Jul 2004 06:34:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337186#M874444</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-07-21T06:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: mv question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337187#M874445</link>
      <description>HI ,&lt;BR /&gt;&lt;BR /&gt;You are right Franky ....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;BYE</description>
      <pubDate>Thu, 22 Jul 2004 03:16:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337187#M874445</guid>
      <dc:creator>chapaya_1</dc:creator>
      <dc:date>2004-07-22T03:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: mv question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337188#M874446</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I think it is not necessary to perform a tar command, my solution is easier than Franky's solution, only moving directories is enough. Nevertheless Franky's solution is good.&lt;BR /&gt;&lt;BR /&gt;Frank.</description>
      <pubDate>Thu, 22 Jul 2004 05:11:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-question/m-p/3337188#M874446</guid>
      <dc:creator>Francisco J. Soler</dc:creator>
      <dc:date>2004-07-22T05:11:12Z</dc:date>
    </item>
  </channel>
</rss>

