<?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: script to copy file  from several directories in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278672#M640802</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;First, I would create two marker files. file1 should have a timestamp of february 1st, file2 february 28. &lt;BR /&gt;&lt;BR /&gt;# touch -t 201102010000 file1&lt;BR /&gt;# touch -t 201102282359 file2&lt;BR /&gt;&lt;BR /&gt;With these two, the following find command will result in all the files you need to copy:&lt;BR /&gt;&lt;BR /&gt;# find /Europe -newer file1 -a ! -newer file2 -print&lt;BR /&gt;&lt;BR /&gt;With this, you can generate a file list, tar it and scp it. I'm not sure if you want to copy these with full path or not, but you can achieve both with tar.&lt;BR /&gt;&lt;BR /&gt;you can use the exec option of find:&lt;BR /&gt;&lt;BR /&gt;# find /Europe -newer file1 -a ! -newer file2 -exec tar cvf {} \;&lt;BR /&gt;&lt;BR /&gt;or you can use pax if you prefer it:&lt;BR /&gt;&lt;BR /&gt;# find /Europe -newer file1 -a ! -newer file2 | pax -v -w -f /tmp/myarchive&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Viktor&lt;BR /&gt;</description>
    <pubDate>Wed, 06 Apr 2011 10:21:37 GMT</pubDate>
    <dc:creator>Viktor Balogh</dc:creator>
    <dc:date>2011-04-06T10:21:37Z</dc:date>
    <item>
      <title>script to copy file  from several directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278663#M640793</link>
      <description>&lt;BR /&gt;Hi All&lt;BR /&gt;&lt;BR /&gt;I need to scp files from several subdirecories within the same directory to another server.&lt;BR /&gt;&lt;BR /&gt;Pls can you help?&lt;BR /&gt;&lt;BR /&gt;F.R.</description>
      <pubDate>Tue, 05 Apr 2011 14:04:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278663#M640793</guid>
      <dc:creator>NDO</dc:creator>
      <dc:date>2011-04-05T14:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy file  from several directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278664#M640794</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;What are you stuck with?&lt;BR /&gt;&lt;BR /&gt;Setup public ssh keys between the servers in question.  Then write whatever 'scp' command you need!  For example:&lt;BR /&gt;&lt;BR /&gt;# scp -p mydir/mysubdir1/myfile1 thathost:/itsdir/itsfile&lt;BR /&gt;&lt;BR /&gt;Search or Google ssh and public keys if you don't know how to set that up.  The manpages for 'scp' would also help you.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 05 Apr 2011 14:37:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278664#M640794</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-04-05T14:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy file  from several directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278665#M640795</link>
      <description>scp mysubdir1/myfile1  mysubdir2/myfile2  mysubdir3/myfile3  remote_host:/target_directory&lt;BR /&gt;&lt;BR /&gt;it is that simple&lt;BR /&gt;&lt;BR /&gt;if the destination for all these files are different too, that that's another story and each different destination will need a separate scp command.&lt;BR /&gt;&lt;BR /&gt;Hope this helps</description>
      <pubDate>Tue, 05 Apr 2011 16:25:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278665#M640795</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2011-04-05T16:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy file  from several directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278666#M640796</link>
      <description>&lt;BR /&gt;Hi&lt;BR /&gt;&lt;BR /&gt;The problem is that I need to scp all february files from 318 directories to just one destination. But the source are 318 subdirectories within one directory . I know how to select the february files. what I dont want is to create 318 scripts and run them.&lt;BR /&gt;&lt;BR /&gt;F.R.</description>
      <pubDate>Tue, 05 Apr 2011 18:25:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278666#M640796</guid>
      <dc:creator>NDO</dc:creator>
      <dc:date>2011-04-05T18:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy file  from several directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278667#M640797</link>
      <description>February files ??? As you can imagine, we, on the other side of the internet, do not know what this means. But my assumption is, you have a directory hierarchy as such:&lt;BR /&gt;&lt;BR /&gt;/logs/2011/Jan&lt;BR /&gt;/logs/2011/Feb&lt;BR /&gt;/logs/2011/Mar&lt;BR /&gt;/logs/2011/Apr&lt;BR /&gt;&lt;BR /&gt;and each of these have 300+ subdirectories under each of them. Right ? If so, let's take Feb subdirectory as an example since you mentioned it.&lt;BR /&gt;&lt;BR /&gt;cd /logs/2011/Feb&lt;BR /&gt;scp -rp * remote_server:/var/logs/Feb&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;make sure on the remote server, directory /var/logs/Feb exists or if you want scp to create it, use this syntax:&lt;BR /&gt;&lt;BR /&gt;cd /logs/2011&lt;BR /&gt;scp -rp Feb  remote_server:/var/logs&lt;BR /&gt;&lt;BR /&gt;again make sure the /var/log target directory exists on the remote server.&lt;BR /&gt;&lt;BR /&gt;switch -r means copy subdirectories recursively and -p means preserve modification times, access times, and modes from the original file.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. More details you provide instead of rounding up your question, better answers you get around here. Just remember that next time you are about to ask a question. We are not mind readers unfortunately&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Apr 2011 18:40:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278667#M640797</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2011-04-05T18:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy file  from several directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278668#M640798</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] We are not mind readers unfortunately&lt;BR /&gt;&lt;BR /&gt;It might be fortunate.  Imagine what we might&lt;BR /&gt;see if we could.  Gahhh.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; But my assumption is, [...]&lt;BR /&gt;&lt;BR /&gt;We should not need to assume anything.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] another server.&lt;BR /&gt;&lt;BR /&gt;For example, we should not need to assume&lt;BR /&gt;what "another server" is, or its OS.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I need to scp files [...]&lt;BR /&gt;&lt;BR /&gt;I doubt it.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] 318 directories [...]&lt;BR /&gt;&lt;BR /&gt;Is there some reason not to use, say, "tar"&lt;BR /&gt;to create one archive containing all these&lt;BR /&gt;files, and then copy _that_ to "another&lt;BR /&gt;server"?&lt;BR /&gt;&lt;BR /&gt;Perhaps you should start by trying to decide&lt;BR /&gt;(and describe) exactly _what_ it is that you&lt;BR /&gt;need to do, and _then_ worry about exactly&lt;BR /&gt;_how_ you "need" to do it.&lt;BR /&gt;&lt;BR /&gt;Or, you could just continue to waste&lt;BR /&gt;everyone's time the same way.</description>
      <pubDate>Tue, 05 Apr 2011 19:12:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278668#M640798</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-04-05T19:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy file  from several directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278669#M640799</link>
      <description>&amp;gt;I know how to select the february files. what I don't want is to create 318 scripts and run them.&lt;BR /&gt;&lt;BR /&gt;You don't need 318 scripts but you may need 318 lines in your script.&lt;BR /&gt;&lt;BR /&gt;Or if the target is in one directory, you can list 318 source files, like Mel mentioned:&lt;BR /&gt;scp \&lt;BR /&gt;file1 \&lt;BR /&gt;[...] \&lt;BR /&gt;host2:target-directory&lt;BR /&gt;&lt;BR /&gt;If you have a script that can select those files, you can replace the above by:&lt;BR /&gt;scp $(selection-script.sh) host2:target-directory</description>
      <pubDate>Wed, 06 Apr 2011 01:21:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278669#M640799</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-04-06T01:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy file  from several directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278670#M640800</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Hi&lt;BR /&gt;&lt;BR /&gt;let me explain again:&lt;BR /&gt;lets say I have directory Europe, inside this directory I have 318 subdirectories all under Europe. Now under this 318 subdirectories are thousand of files, all created in differente months, days etc. So what I want is to scp only the files created in february of this 318 subdirectories to a single destination on another server. So I have multiple sources (318) but only one target.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;F.R</description>
      <pubDate>Wed, 06 Apr 2011 05:09:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278670#M640800</guid>
      <dc:creator>NDO</dc:creator>
      <dc:date>2011-04-06T05:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy file  from several directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278671#M640801</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;the script I use for one directory is as follows:&lt;BR /&gt;&lt;BR /&gt;for JOB in `ls -lrt | awk '{if ($6 == "Feb" &amp;amp;&amp;amp; $8 != 2010)print $9}'`&lt;BR /&gt;do&lt;BR /&gt;scp -p /global/xnode/mcel/tap_out/&lt;SUBDIRECTORY&gt;/$JOB root@xx.xxx.xx.xx:/dcs/data02_loc/PROD/INPUT/TAPOUT/&lt;BR /&gt;&lt;BR /&gt;F.R.&lt;BR /&gt;&lt;BR /&gt;&lt;/SUBDIRECTORY&gt;</description>
      <pubDate>Wed, 06 Apr 2011 05:58:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278671#M640801</guid>
      <dc:creator>NDO</dc:creator>
      <dc:date>2011-04-06T05:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy file  from several directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278672#M640802</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;First, I would create two marker files. file1 should have a timestamp of february 1st, file2 february 28. &lt;BR /&gt;&lt;BR /&gt;# touch -t 201102010000 file1&lt;BR /&gt;# touch -t 201102282359 file2&lt;BR /&gt;&lt;BR /&gt;With these two, the following find command will result in all the files you need to copy:&lt;BR /&gt;&lt;BR /&gt;# find /Europe -newer file1 -a ! -newer file2 -print&lt;BR /&gt;&lt;BR /&gt;With this, you can generate a file list, tar it and scp it. I'm not sure if you want to copy these with full path or not, but you can achieve both with tar.&lt;BR /&gt;&lt;BR /&gt;you can use the exec option of find:&lt;BR /&gt;&lt;BR /&gt;# find /Europe -newer file1 -a ! -newer file2 -exec tar cvf {} \;&lt;BR /&gt;&lt;BR /&gt;or you can use pax if you prefer it:&lt;BR /&gt;&lt;BR /&gt;# find /Europe -newer file1 -a ! -newer file2 | pax -v -w -f /tmp/myarchive&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Viktor&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2011 10:21:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278672#M640802</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2011-04-06T10:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy file  from several directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278673#M640803</link>
      <description>&lt;!--!*#--&gt;&amp;gt;the script I use for one directory is as follows:&lt;BR /&gt;&lt;BR /&gt;Change to:&lt;BR /&gt;find /global/xnode/mcel/tap_out -type f -exec ll -rt + |&lt;BR /&gt;   awk '{if ($6 == "Feb" &amp;amp;&amp;amp; $8 != 2010) print $9}' &amp;gt; file_list&lt;BR /&gt;&lt;BR /&gt;scp -p $(&amp;lt; file_list) root@xx.xxx.xx.xx:/dcs/data02_loc/PROD/INPUT/TAPOUT/&lt;BR /&gt;&lt;BR /&gt;You don't have to produce file_list if you want to go crazy and put it all on one line but you may want to keep it around with the two steps.&lt;BR /&gt;&lt;BR /&gt;You can also add "-mtime -$(date +%j)" to find(1) to limit the search to just this year.</description>
      <pubDate>Wed, 06 Apr 2011 10:29:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278673#M640803</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-04-06T10:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy file  from several directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278674#M640804</link>
      <description>&amp;gt;Viktor: but you can achieve both with tar.&lt;BR /&gt;&lt;BR /&gt;Don't even think of using find(1) with tar.&lt;BR /&gt;Unless the list is "small":&lt;BR /&gt;tar -cvf foo.tar $(find /Europe -newer file1 -a ! -newer file2)&lt;BR /&gt;&lt;BR /&gt;# find /Europe -newer file1 -a ! -newer file2 -exec tar cvf {} \;&lt;BR /&gt;&lt;BR /&gt;This puts the file in itself? :-(&lt;BR /&gt;Or overwrite the same tarfile you forgot.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;you can use pax if you prefer it:&lt;BR /&gt;# find /Europe -newer file1 -a ! -newer file2 | pax -v -w -f /tmp/myarchive&lt;BR /&gt;&lt;BR /&gt;Yes.</description>
      <pubDate>Wed, 06 Apr 2011 10:34:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278674#M640804</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-04-06T10:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy file  from several directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278675#M640805</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;Change to:&lt;BR /&gt;find /global/xnode/mcel/tap_out -type f -exec ll -rt + |&lt;BR /&gt;   awk '{if ($6 == "Feb" &amp;amp;&amp;amp; $8 != 2010) print $9}' &amp;gt; file_list&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the output is:&lt;BR /&gt;find: incomplete statement&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;F.R.</description>
      <pubDate>Wed, 06 Apr 2011 11:01:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278675#M640805</guid>
      <dc:creator>NDO</dc:creator>
      <dc:date>2011-04-06T11:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy file  from several directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278676#M640806</link>
      <description>I see that you want the hard way (ll &amp;amp; awk). try this:&lt;BR /&gt;&lt;BR /&gt;find /global/xnode/mcel/tap_out -type f -exec ll -rt {} \+ |&lt;BR /&gt;awk '{if ($6 == "Feb" &amp;amp;&amp;amp; $8 != 2010) print $9}' &amp;gt; file_list&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;in short: you need a {} and a + or ; at the end of -exec.</description>
      <pubDate>Wed, 06 Apr 2011 11:06:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278676#M640806</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2011-04-06T11:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy file  from several directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278677#M640807</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Hi&lt;BR /&gt;&lt;BR /&gt;the output its empty file (file_list)&lt;BR /&gt;&lt;BR /&gt;F.R.</description>
      <pubDate>Wed, 06 Apr 2011 11:40:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278677#M640807</guid>
      <dc:creator>NDO</dc:creator>
      <dc:date>2011-04-06T11:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy file  from several directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278678#M640808</link>
      <description>&amp;gt;the output its empty file (file_list) &lt;BR /&gt;&lt;BR /&gt;first, try without awk...</description>
      <pubDate>Wed, 06 Apr 2011 11:43:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278678#M640808</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2011-04-06T11:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy file  from several directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278679#M640809</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;first, try without awk... &lt;BR /&gt; &lt;BR /&gt;  &lt;BR /&gt;I dont understand.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;F.R.</description>
      <pubDate>Wed, 06 Apr 2011 11:52:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278679#M640809</guid>
      <dc:creator>NDO</dc:creator>
      <dc:date>2011-04-06T11:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy file  from several directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278680#M640810</link>
      <description>at first try only this:&lt;BR /&gt;&lt;BR /&gt;# find /global/xnode/mcel/tap_out -type f -exec ll -rt {} \+&lt;BR /&gt;&lt;BR /&gt;does it give any o/p?</description>
      <pubDate>Wed, 06 Apr 2011 18:34:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278680#M640810</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2011-04-06T18:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy file  from several directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278681#M640811</link>
      <description>&amp;gt;the output is: find: incomplete statement&lt;BR /&gt;&lt;BR /&gt;This works fine on HP-UX's find(1), using a real shell.  What are you using?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Viktor: in short: you need a {} and a + or ; at the end of -exec.&lt;BR /&gt;&lt;BR /&gt;On HP-UX you don't need that "{}" before the "+" but I probably shouldn't have left it out in my example.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;at first try only this.  does it give any o/p?&lt;BR /&gt;&lt;BR /&gt;Right.  Is /global/xnode/mcel/tap_out the correct path to "Europe"?  Does ll(1) produce any output?</description>
      <pubDate>Thu, 07 Apr 2011 04:20:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278681#M640811</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-04-07T04:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: script to copy file  from several directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278682#M640812</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Sorry, I was away for some days:&lt;BR /&gt;yes&lt;BR /&gt;" find /global/xnode/mcel/tap_out -type f -exec ll -rt {} \+&lt;BR /&gt; " does give me an output:&lt;BR /&gt;&lt;BR /&gt;-rw-r--r--   1 mcel     other        123 Apr 11 08:55 /global/xnode/mcel/tap_out/BENSP/CDMOZ01BENSP02186&lt;BR /&gt;-rw-r--r--   1 mcel     other        123 Apr 11 08:55 /global/xnode/mcel/tap_out/NERCT/CDMOZ01NERCT01288&lt;BR /&gt;-rw-r--r--   1 mcel     other        123 Apr 11 08:55 /global/xnode/mcel/tap_out/ARGCM/CDMOZ01ARGCM01811&lt;BR /&gt;-rw-r--r--   1 mcel     other        123 Apr 11 08:55 /global/xnode/mcel/tap_out/ALBAM/CDMOZ01ALBAM01766&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;F.R.</description>
      <pubDate>Mon, 11 Apr 2011 13:54:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file-from-several-directories/m-p/5278682#M640812</guid>
      <dc:creator>NDO</dc:creator>
      <dc:date>2011-04-11T13:54:38Z</dc:date>
    </item>
  </channel>
</rss>

