<?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 command help in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-command-help/m-p/5209442#M464640</link>
    <description>Hi Noe,&lt;BR /&gt;&lt;BR /&gt;1. you can remove the Backup folder and create it again for backup.&lt;BR /&gt;&lt;BR /&gt;2. As you do it on daily basis, so you can make directory under /BACKUP with the name "backup.&lt;DATE&gt; and save DATA in it&lt;BR /&gt;&lt;BR /&gt;3. you can use Tar to group all the files into a single file in /BACKUP folder.&lt;/DATE&gt;</description>
    <pubDate>Fri, 13 Nov 2009 19:42:50 GMT</pubDate>
    <dc:creator>Vishu</dc:creator>
    <dc:date>2009-11-13T19:42:50Z</dc:date>
    <item>
      <title>mv command help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-command-help/m-p/5209439#M464637</link>
      <description>hello all, &lt;BR /&gt;im doing a daily refresh of my database to a backup location. the database has subdirectories.so this is the command im using&lt;BR /&gt;&lt;BR /&gt;mv /DATA/* /BACKUP&lt;BR /&gt;the error is:&lt;BR /&gt;subdir in DATA/subdir already exist&lt;BR /&gt;my question:&lt;BR /&gt;how can i create a script that will move and overwrite the BACKUP dir and SUBDIR with the refreshed data that i move daily?&lt;BR /&gt;thanks all in advance</description>
      <pubDate>Fri, 13 Nov 2009 18:52:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-command-help/m-p/5209439#M464637</guid>
      <dc:creator>noe</dc:creator>
      <dc:date>2009-11-13T18:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: mv command help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-command-help/m-p/5209440#M464638</link>
      <description>&lt;!--!*#--&gt;"tar" pipeline?</description>
      <pubDate>Fri, 13 Nov 2009 19:06:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-command-help/m-p/5209440#M464638</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-11-13T19:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: mv command help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-command-help/m-p/5209441#M464639</link>
      <description>well, is it safe to remove /BACKUP entirely before you do the move? &lt;BR /&gt;&lt;BR /&gt;as in:&lt;BR /&gt;rm -rf /BACKUP&lt;BR /&gt;mv /DATA/* /BACKUP&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;if not, then find the directories immediately under /DATA, and using that information, remove the same from the /BACKUP directory, then do the move.&lt;BR /&gt;&lt;BR /&gt;there are probably 1/2 a dozen other ways to do this as well...man tar has a couple of examples that might be enlightening&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Nov 2009 19:12:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-command-help/m-p/5209441#M464639</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-11-13T19:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: mv command help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-command-help/m-p/5209442#M464640</link>
      <description>Hi Noe,&lt;BR /&gt;&lt;BR /&gt;1. you can remove the Backup folder and create it again for backup.&lt;BR /&gt;&lt;BR /&gt;2. As you do it on daily basis, so you can make directory under /BACKUP with the name "backup.&lt;DATE&gt; and save DATA in it&lt;BR /&gt;&lt;BR /&gt;3. you can use Tar to group all the files into a single file in /BACKUP folder.&lt;/DATE&gt;</description>
      <pubDate>Fri, 13 Nov 2009 19:42:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-command-help/m-p/5209442#M464640</guid>
      <dc:creator>Vishu</dc:creator>
      <dc:date>2009-11-13T19:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: mv command help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-command-help/m-p/5209443#M464641</link>
      <description>cd /DATA; tar cf - *|(cd /BACKUP; tar xf - )&lt;BR /&gt;cd /; rm -r /DATA&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Fri, 13 Nov 2009 20:02:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-command-help/m-p/5209443#M464641</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2009-11-13T20:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: mv command help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mv-command-help/m-p/5209444#M464642</link>
      <description>thank you</description>
      <pubDate>Fri, 13 Nov 2009 20:42:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mv-command-help/m-p/5209444#M464642</guid>
      <dc:creator>noe</dc:creator>
      <dc:date>2009-11-13T20:42:37Z</dc:date>
    </item>
  </channel>
</rss>

