<?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: Copy files with particular time stamp?? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032274#M761497</link>
    <description>Just copy them to the new directory, touch them with new time and tar them at last:&lt;BR /&gt;&lt;BR /&gt;cp -r DIR /tmp&lt;BR /&gt;touch -t 02010000 $(ls /tmp/DIR/*|tr -d :)&lt;BR /&gt;cd /tmp/DIR&lt;BR /&gt;tar cvf DIR.tar .</description>
    <pubDate>Wed, 07 Mar 2007 04:10:18 GMT</pubDate>
    <dc:creator>Univer_1</dc:creator>
    <dc:date>2007-03-07T04:10:18Z</dc:date>
    <item>
      <title>Copy files with particular time stamp??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032270#M761493</link>
      <description>I have a requirement to copy all files in a dir with time stamp in the month of march and tar it...&lt;BR /&gt;Is there a simple sol??</description>
      <pubDate>Wed, 07 Mar 2007 03:14:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032270#M761493</guid>
      <dc:creator>Manikandan R</dc:creator>
      <dc:date>2007-03-07T03:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Copy files with particular time stamp??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032271#M761494</link>
      <description>Hi,&lt;BR /&gt;an number of solutions are available.&lt;BR /&gt;&lt;BR /&gt;Some are detailed in:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1048222" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1048222&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;My personal preference would be the touch/find solution&lt;BR /&gt;&lt;BR /&gt;Please also read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; on how to reward any useful answers given to your questions.</description>
      <pubDate>Wed, 07 Mar 2007 03:26:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032271#M761494</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-03-07T03:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Copy files with particular time stamp??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032272#M761495</link>
      <description>I dont want to just list...... I want to copy files with march time stamp to a different dir .....Give me the exact command pls</description>
      <pubDate>Wed, 07 Mar 2007 03:46:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032272#M761495</guid>
      <dc:creator>Manikandan R</dc:creator>
      <dc:date>2007-03-07T03:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Copy files with particular time stamp??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032273#M761496</link>
      <description>Hi,&lt;BR /&gt;# touch -amt 200703010000 /tmp/f1&lt;BR /&gt;# touch -amt 200703312359 /tmp/f2&lt;BR /&gt;# mkdir /tmp/tardir&lt;BR /&gt;# find /pathdir -xdev -type f -newer /tmp/f1 -a ! -newer /tmp/f2 -exec cp {} /tmp/tardir/ \;&lt;BR /&gt;# tar -cvf march.tar /tmp/tardir&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Mar 2007 04:04:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032273#M761496</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-03-07T04:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Copy files with particular time stamp??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032274#M761497</link>
      <description>Just copy them to the new directory, touch them with new time and tar them at last:&lt;BR /&gt;&lt;BR /&gt;cp -r DIR /tmp&lt;BR /&gt;touch -t 02010000 $(ls /tmp/DIR/*|tr -d :)&lt;BR /&gt;cd /tmp/DIR&lt;BR /&gt;tar cvf DIR.tar .</description>
      <pubDate>Wed, 07 Mar 2007 04:10:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032274#M761497</guid>
      <dc:creator>Univer_1</dc:creator>
      <dc:date>2007-03-07T04:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Copy files with particular time stamp??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032275#M761498</link>
      <description>Some one correct me if i am wrong...but it would not possible to copy files along with the timestamps with pure "cp" command.&lt;BR /&gt;&lt;BR /&gt;How ever, work arounds could be deployed as suggested in posts prior to mine.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Mobeen</description>
      <pubDate>Wed, 07 Mar 2007 04:36:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032275#M761498</guid>
      <dc:creator>Mobeen_1</dc:creator>
      <dc:date>2007-03-07T04:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Copy files with particular time stamp??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032276#M761499</link>
      <description>Thanks for your replies.....</description>
      <pubDate>Wed, 07 Mar 2007 05:08:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032276#M761499</guid>
      <dc:creator>Manikandan R</dc:creator>
      <dc:date>2007-03-07T05:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Copy files with particular time stamp??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032277#M761500</link>
      <description>&amp;gt;Univer: touch them with new time and tar them&lt;BR /&gt;&lt;BR /&gt;I'm not sure why you want to touch them?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Mobeen: but it would not possible to copy files along with the timestamps with pure "cp" command.&lt;BR /&gt;&lt;BR /&gt;cp -p will save the the permissions, times, etc..&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Mar 2007 05:23:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032277#M761500</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-03-07T05:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Copy files with particular time stamp??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032278#M761501</link>
      <description>I am sorry, i meant search .. search based on timestamp...not copy :)&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Mobeen</description>
      <pubDate>Thu, 08 Mar 2007 03:45:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032278#M761501</guid>
      <dc:creator>Mobeen_1</dc:creator>
      <dc:date>2007-03-08T03:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Copy files with particular time stamp??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032279#M761502</link>
      <description>I will post a new thread, what i meant was unlike other OS once a file is touched ....we will not have track of the file creation date...as the file creation date/time changes from initial date to the date on which it was touched....&lt;BR /&gt;&lt;BR /&gt;For example in OpenVMS we would have file creation date and file modification date...&lt;BR /&gt;&lt;BR /&gt;Thanks guys&lt;BR /&gt;Mobeen</description>
      <pubDate>Thu, 08 Mar 2007 05:58:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-particular-time-stamp/m-p/5032279#M761502</guid>
      <dc:creator>Mobeen_1</dc:creator>
      <dc:date>2007-03-08T05:58:27Z</dc:date>
    </item>
  </channel>
</rss>

