<?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: Can not copy a file with a * to a CIFS mounted file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120252#M447605</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;this test&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;/tmp # mkdir tt&lt;BR /&gt;/tmp # touch tt/have*&lt;BR /&gt;/tmp # cp -r tt /test/&lt;BR /&gt;cp: cannot create /test/tt/have*: No such file or directory&lt;BR /&gt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;shows clearly, that your remote filesystem does not allow the character '*' in a filename.&lt;BR /&gt;&lt;BR /&gt;- Do you use a current CIFS version?&lt;BR /&gt;- Look at the SAMBA-configuration - best use swat - to get more info about possibilities: I remember about 'upcase' and similar parameters.&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
    <pubDate>Fri, 18 Jul 2008 22:01:53 GMT</pubDate>
    <dc:creator>Peter Nikitka</dc:creator>
    <dc:date>2008-07-18T22:01:53Z</dc:date>
    <item>
      <title>Can not copy a file with a * to a CIFS mounted file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120242#M447595</link>
      <description>I'm copying a whole directory to a cifs mounted file system.&lt;BR /&gt;All the files and directories copy except those files that have a '*' in the file name.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;cp -r -p 123*123 /test/&lt;BR /&gt;&lt;BR /&gt;I get this error:&lt;BR /&gt;&lt;BR /&gt;cp: cannot create /test/123*123: No such file or directory.&lt;BR /&gt;&lt;BR /&gt;But of course I can copy this file to a local directory.&lt;BR /&gt;&lt;BR /&gt;Very strange!&lt;BR /&gt;&lt;BR /&gt;Anyone have any ideas?</description>
      <pubDate>Fri, 18 Jul 2008 14:46:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120242#M447595</guid>
      <dc:creator>Bob_165</dc:creator>
      <dc:date>2008-07-18T14:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can not copy a file with a * to a CIFS mounted file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120243#M447596</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Post here the output of "ls -al /test/", I've tested on my system to copy files with * to a cifs and it works!&lt;BR /&gt;&lt;BR /&gt;Pedro</description>
      <pubDate>Fri, 18 Jul 2008 14:51:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120243#M447596</guid>
      <dc:creator>Pedro Cirne</dc:creator>
      <dc:date>2008-07-18T14:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can not copy a file with a * to a CIFS mounted file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120244#M447597</link>
      <description>Try cp -r -p 123\*123/test&lt;BR /&gt;&lt;BR /&gt;Normally, the asterix (*) is expanded by the shell.  If you want to use literally the asterix, you need to escape it by putting the backslash (\) in the charater in front of it.&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Fri, 18 Jul 2008 14:58:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120244#M447597</guid>
      <dc:creator>Chris Vail</dc:creator>
      <dc:date>2008-07-18T14:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can not copy a file with a * to a CIFS mounted file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120245#M447598</link>
      <description>Here's the output from&lt;BR /&gt;&lt;BR /&gt;ls -al /test/&lt;BR /&gt;total 20&lt;BR /&gt;drwxrwxrwx   2 root       sys         131072 Jul 18 09:01 .&lt;BR /&gt;drwxr-xr-x  27 root       root          8192 Jul 18 08:20 ..&lt;BR /&gt;-rwxrwxrwx   1 root       sys              7 Apr 29 12:57 bob.txt&lt;BR /&gt;-rwxrwxrwx   1 root       sys             27 Apr 29 13:00 bob1&lt;BR /&gt;&lt;BR /&gt;The reason I'm copying the directories and files is for a backup. There are close to 200 of these files ,all with * in the file name that won't copy.&lt;BR /&gt;Command I used to mount the cifs filesystem:&lt;BR /&gt;cifsmount "//ku2-2003.koretech.com/test_file" /test -Ubobb -PXXXX&lt;BR /&gt;&lt;BR /&gt;The bobb user is a domain admin.&lt;BR /&gt;And I'm logged in as root on the HP-UX side.&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jul 2008 15:06:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120245#M447598</guid>
      <dc:creator>Bob_165</dc:creator>
      <dc:date>2008-07-18T15:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can not copy a file with a * to a CIFS mounted file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120246#M447599</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;I'm copying serveral GB of data for the backup, not just one file and its just the file names with the * that doesn't copy.&lt;BR /&gt;I've tried two differnt HP-UX systems with different windows file systems and they both act the same way.&lt;BR /&gt;I was hoping there is some sort of hidden flag or option I could put on the cp or the mount command. &lt;BR /&gt;I've been goggleing for two days without any luck.&lt;BR /&gt;&lt;BR /&gt;Pedro--can you tell me the command you used to mount your cifs file system? Any special security on the windows directoy?&lt;BR /&gt;Thanks--Bob</description>
      <pubDate>Fri, 18 Jul 2008 15:40:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120246#M447599</guid>
      <dc:creator>Bob_165</dc:creator>
      <dc:date>2008-07-18T15:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can not copy a file with a * to a CIFS mounted file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120247#M447600</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;can you check, if any of these commands give errors as well:&lt;BR /&gt;1) no recursive copy&lt;BR /&gt;touch no-asterisk have'*'&lt;BR /&gt;cp no-asterisk /test/'with*'&lt;BR /&gt;cp 'have*' /tmp/&lt;BR /&gt;&lt;BR /&gt;2) within a single directory&lt;BR /&gt;mkdir tt&lt;BR /&gt;touch tt/have'*'&lt;BR /&gt;cp -r tt /test&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Fri, 18 Jul 2008 16:59:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120247#M447600</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2008-07-18T16:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can not copy a file with a * to a CIFS mounted file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120248#M447601</link>
      <description>Hi Bob:&lt;BR /&gt;&lt;BR /&gt;If you want to handle files with characters like "*" and spaces, enclose the filename in double quotes.&lt;BR /&gt;&lt;BR /&gt;# touch "test*123"&lt;BR /&gt;# ls -l "test*123"&lt;BR /&gt;# rm "test*123"&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 18 Jul 2008 17:20:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120248#M447601</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-07-18T17:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can not copy a file with a * to a CIFS mounted file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120249#M447602</link>
      <description>Peter,&lt;BR /&gt;&lt;BR /&gt;Here's what I get:&lt;BR /&gt;/tmp # touch no-asterisk have*&lt;BR /&gt;/tmp # cp no-asterisk /test/&lt;BR /&gt;/tmp # cp have* /test/&lt;BR /&gt;cp: cannot create /test/have*: No such file or directory&lt;BR /&gt;/tmp # mkdir tt&lt;BR /&gt;/tmp # touch tt/have*&lt;BR /&gt;/tmp # cp -r tt /test/&lt;BR /&gt;cp: cannot create /test/tt/have*: No such file or directory&lt;BR /&gt;&lt;BR /&gt;Still very strange!</description>
      <pubDate>Fri, 18 Jul 2008 17:20:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120249#M447602</guid>
      <dc:creator>Bob_165</dc:creator>
      <dc:date>2008-07-18T17:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can not copy a file with a * to a CIFS mounted file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120250#M447603</link>
      <description>What I doing is copying a directory that is serveral GB's with a few hundred files that have a * in the file name. There are more files with an * in there name created weekly.&lt;BR /&gt;&lt;BR /&gt;So the bottomline is I can copy these files to a local directory but copying them to a CIFS mounted file system causes the errors.&lt;BR /&gt;&lt;BR /&gt;It's almost like it's a bug in CIFS??&lt;BR /&gt;&lt;BR /&gt;Pedro your's works; did you use some options on mounting the CIFS file system? Is your file system coming from a W2k3R2 system?&lt;BR /&gt;&lt;BR /&gt;Thanks--Bob</description>
      <pubDate>Fri, 18 Jul 2008 19:45:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120250#M447603</guid>
      <dc:creator>Bob_165</dc:creator>
      <dc:date>2008-07-18T19:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can not copy a file with a * to a CIFS mounted file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120251#M447604</link>
      <description>One other note:&lt;BR /&gt;&lt;BR /&gt;Even if I enclose it in "" it doesn't copy:&lt;BR /&gt;&lt;BR /&gt;/tmp/bob # ls&lt;BR /&gt;123*123&lt;BR /&gt;/tmp/bob # cp -r -p "123*123" /test/&lt;BR /&gt;cp: cannot create /test/123*123: No such file or directory</description>
      <pubDate>Fri, 18 Jul 2008 19:49:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120251#M447604</guid>
      <dc:creator>Bob_165</dc:creator>
      <dc:date>2008-07-18T19:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can not copy a file with a * to a CIFS mounted file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120252#M447605</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;this test&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;/tmp # mkdir tt&lt;BR /&gt;/tmp # touch tt/have*&lt;BR /&gt;/tmp # cp -r tt /test/&lt;BR /&gt;cp: cannot create /test/tt/have*: No such file or directory&lt;BR /&gt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;shows clearly, that your remote filesystem does not allow the character '*' in a filename.&lt;BR /&gt;&lt;BR /&gt;- Do you use a current CIFS version?&lt;BR /&gt;- Look at the SAMBA-configuration - best use swat - to get more info about possibilities: I remember about 'upcase' and similar parameters.&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Fri, 18 Jul 2008 22:01:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120252#M447605</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2008-07-18T22:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can not copy a file with a * to a CIFS mounted file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120253#M447606</link>
      <description>The real question is why do you have "*" in filenames?  These and spaces really really upset a shell.&lt;BR /&gt;&lt;BR /&gt;If you need to, you can write a script to rename these evil files.</description>
      <pubDate>Sat, 19 Jul 2008 00:51:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120253#M447606</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-19T00:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can not copy a file with a * to a CIFS mounted file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120254#M447607</link>
      <description>Did you try cp with escaping the asterisk&lt;BR /&gt;&lt;BR /&gt;cp have\* /test&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 20 Jul 2008 08:03:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120254#M447607</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-07-20T08:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can not copy a file with a * to a CIFS mounted file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120255#M447608</link>
      <description>Hey Rasheed,&lt;BR /&gt;&lt;BR /&gt;Bob told already:&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;Even if I enclose it in "" it doesn't copy:&lt;BR /&gt;&amp;lt;&amp;lt;&lt;BR /&gt;A backslash or single quotes don't differ.&lt;BR /&gt;&lt;BR /&gt;Next: even when no '*' is used on the command line, this error message occurs.&lt;BR /&gt;&lt;BR /&gt;@Dennis: So it would be nice NOT to have such filenames, admins often have no possibility in taking influence on applications and the people who use these to inhibit such names.&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Sun, 20 Jul 2008 19:04:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120255#M447608</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2008-07-20T19:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can not copy a file with a * to a CIFS mounted file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120256#M447609</link>
      <description>&amp;gt;Peter: admins often have no possibility in taking influence on applications and the people who use these to inhibit such names.&lt;BR /&gt;&lt;BR /&gt;Just mention that "*" isn't valid on Windows, at least XP.</description>
      <pubDate>Mon, 21 Jul 2008 00:31:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120256#M447609</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-21T00:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can not copy a file with a * to a CIFS mounted file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120257#M447610</link>
      <description>I think Dennis has the answer:&lt;BR /&gt;Indeed the '*' is not allowed in filenames in windows.&lt;BR /&gt;&lt;BR /&gt;Unfortunately I have hundreds of these files. So now I know the problem....&lt;BR /&gt;&lt;BR /&gt;Anyone have any ideas how to write a script to either escape these evil '*' or substitute another char during the cp command?&lt;BR /&gt;&lt;BR /&gt;Thanks to all for your help so far!&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Jul 2008 14:26:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120257#M447610</guid>
      <dc:creator>Bob_165</dc:creator>
      <dc:date>2008-07-21T14:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can not copy a file with a * to a CIFS mounted file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120258#M447611</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;using the attached skript 'rename_asterisk' shows this on my testdata. It substitutes 'X' for '*' - you can change this, if you like.&lt;BR /&gt;It takes care on directory structures nedding renamed at any level of its hierarchy.&lt;BR /&gt;Before:&lt;BR /&gt;ls -R yy&lt;BR /&gt;yy:&lt;BR /&gt;dir*1  dir*2  huhu&lt;BR /&gt;&lt;BR /&gt;yy/dir*1:&lt;BR /&gt;f1&lt;BR /&gt;&lt;BR /&gt;yy/dir*2:&lt;BR /&gt;f2*&lt;BR /&gt;&lt;BR /&gt;yy/huhu:&lt;BR /&gt;f3*ee&lt;BR /&gt;&lt;BR /&gt;Now use&lt;BR /&gt;rename_asterisk xx&lt;BR /&gt;&lt;BR /&gt;and you get &lt;BR /&gt;ls -R yy&lt;BR /&gt;yy:&lt;BR /&gt;dirX1  dirX2  huhu&lt;BR /&gt;&lt;BR /&gt;yy/dirX1:&lt;BR /&gt;f1&lt;BR /&gt;&lt;BR /&gt;yy/dirX2:&lt;BR /&gt;f2X&lt;BR /&gt;&lt;BR /&gt;yy/huhu:&lt;BR /&gt;f3Xee&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Jul 2008 16:23:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120258#M447611</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2008-07-21T16:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can not copy a file with a * to a CIFS mounted file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120259#M447612</link>
      <description>Thanks Peter,&lt;BR /&gt;&lt;BR /&gt;That's real close...Ideally I'd like to filter the cp (copy) command.&lt;BR /&gt;&lt;BR /&gt;So it could look like&lt;BR /&gt;&lt;BR /&gt;cp -r -p /source | filter * files | /destination/&lt;BR /&gt;&lt;BR /&gt;I can't change the files at the source since these are active programs and screens being used in a live production environment.&lt;BR /&gt;Also, there are no directories that contain an * just files.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help!!!&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Jul 2008 16:44:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120259#M447612</guid>
      <dc:creator>Bob_165</dc:creator>
      <dc:date>2008-07-21T16:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can not copy a file with a * to a CIFS mounted file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120260#M447613</link>
      <description>Have you considered using tar instead of cp?  I've always found it handy:&lt;BR /&gt;&lt;BR /&gt;cd $DIR&lt;BR /&gt;tar cvf - "$FNAME"\*"$EXT"|(cd $DDIR;tar xf -)&lt;BR /&gt;&lt;BR /&gt;This allows you to have any filename or extension and move it.  It uses a LOT of CPU horsepower though, but its blindingly quick.&lt;BR /&gt;&lt;BR /&gt;Another thing you can do is create a text file with all the filenames in it: ls -1 $DIR&amp;gt;/tmp/tempfile, then use that file as an argument to tar command.&lt;BR /&gt;&lt;BR /&gt;for i in `cat /tmp/tempfile`&lt;BR /&gt;do&lt;BR /&gt;tar cvf $i|(cd $DDIR|tar xf -)&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;or do it the uber-geek way&lt;BR /&gt;tar cvf `cat /tmp/tempfile`|(cd $DDIR;tar xf)&lt;BR /&gt;&lt;BR /&gt;Tar will pick up all subdirectories, ownerships and permissions.</description>
      <pubDate>Mon, 21 Jul 2008 16:58:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120260#M447613</guid>
      <dc:creator>Chris Vail</dc:creator>
      <dc:date>2008-07-21T16:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can not copy a file with a * to a CIFS mounted file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120261#M447614</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;Yes, I considered a tar file; but Iâ  ve run into a size limit before with tar not being able to handle anything bigger than 2GB (I think there is a patch that will allow up to 8GB).&lt;BR /&gt;I have about 60GBâ  s of data.&lt;BR /&gt;&lt;BR /&gt;When you mentioned tar a light bulb just came on!&lt;BR /&gt;&lt;BR /&gt;I tried using fbackup and frecover and it worked perfect!&lt;BR /&gt;&lt;BR /&gt;Thanks to everyone!&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Jul 2008 19:11:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-copy-a-file-with-a-to-a-cifs-mounted-file/m-p/5120261#M447614</guid>
      <dc:creator>Bob_165</dc:creator>
      <dc:date>2008-07-21T19:11:48Z</dc:date>
    </item>
  </channel>
</rss>

