<?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: HPUX - basic cp  command 11iv2 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-basic-cp-command-11iv2/m-p/5261440#M472159</link>
    <description>yeah, it's junk in your file name.&lt;BR /&gt;&lt;BR /&gt;you can do a:&lt;BR /&gt;&lt;BR /&gt;ls | od -c &lt;BR /&gt;&lt;BR /&gt;to see the two file names are different.&lt;BR /&gt;&lt;BR /&gt;I use "mv -i" to fix stuff like this.&lt;BR /&gt;&lt;BR /&gt;Just use 'mv -i samefile newfile' command.&lt;BR /&gt;Answer yes to the first, no to the second.&lt;BR /&gt;&lt;BR /&gt;Now, you've got two different file names, which helps a lot.&lt;BR /&gt;&lt;BR /&gt;Now do &lt;BR /&gt;&lt;BR /&gt;ls | od -c &lt;BR /&gt;&lt;BR /&gt;to see if you've fixed the problem already, or if samefile still has junk in it.  Keep in mind that you had a 50/50 chance of fixing the issue in the previous command.&lt;BR /&gt;&lt;BR /&gt;If it does, run "mv -i ./*samefile* anotherfilename" &lt;BR /&gt;and answer yes to your command.&lt;BR /&gt;&lt;BR /&gt;At this point, you should have two different names, both clean. One a directory, one a file, fix them both like you'd like have them finally be represented.&lt;BR /&gt;&lt;BR /&gt;John</description>
    <pubDate>Wed, 03 Nov 2010 18:17:39 GMT</pubDate>
    <dc:creator>TwoProc</dc:creator>
    <dc:date>2010-11-03T18:17:39Z</dc:date>
    <item>
      <title>HPUX - basic cp  command 11iv2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-basic-cp-command-11iv2/m-p/5261437#M472156</link>
      <description>Ok..this is basic HPUX administration 101...&lt;BR /&gt;&lt;BR /&gt;I performed an LL on a directory and noticed s subir and file...both with same name&lt;BR /&gt;I want to copy the file to another location..&lt;BR /&gt;&lt;BR /&gt;How does the cp determine (or even the mv command) which to perform the operation on?  &lt;BR /&gt;&lt;BR /&gt;yea...I had to asked the question!!!</description>
      <pubDate>Wed, 03 Nov 2010 15:51:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-basic-cp-command-11iv2/m-p/5261437#M472156</guid>
      <dc:creator>Tom Haddad</dc:creator>
      <dc:date>2010-11-03T15:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX - basic cp  command 11iv2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-basic-cp-command-11iv2/m-p/5261438#M472157</link>
      <description>Hi Tim:&lt;BR /&gt;&lt;BR /&gt;You have non-printing characters in either the file name or the directory name.  You can expose them with:&lt;BR /&gt;&lt;BR /&gt;# ls -lb&lt;BR /&gt;&lt;BR /&gt;If you then use the inode number from:&lt;BR /&gt;&lt;BR /&gt;# ls -il&lt;BR /&gt;&lt;BR /&gt;...you can rename ('mv') :&lt;BR /&gt;&lt;BR /&gt;# cd /path &amp;amp;&amp;amp; find . -xdev -type f -inum &lt;VALUE&gt; -exec mv {} mynewfile \;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;/VALUE&gt;</description>
      <pubDate>Wed, 03 Nov 2010 16:05:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-basic-cp-command-11iv2/m-p/5261438#M472157</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-11-03T16:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX - basic cp  command 11iv2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-basic-cp-command-11iv2/m-p/5261439#M472158</link>
      <description>Issue the "ll -il" command and locate the inum value.  Issue the "find . -inum #### -exec rm {} \;" command to remove the file.</description>
      <pubDate>Wed, 03 Nov 2010 17:12:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-basic-cp-command-11iv2/m-p/5261439#M472158</guid>
      <dc:creator>Mike Miller_8</dc:creator>
      <dc:date>2010-11-03T17:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX - basic cp  command 11iv2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-basic-cp-command-11iv2/m-p/5261440#M472159</link>
      <description>yeah, it's junk in your file name.&lt;BR /&gt;&lt;BR /&gt;you can do a:&lt;BR /&gt;&lt;BR /&gt;ls | od -c &lt;BR /&gt;&lt;BR /&gt;to see the two file names are different.&lt;BR /&gt;&lt;BR /&gt;I use "mv -i" to fix stuff like this.&lt;BR /&gt;&lt;BR /&gt;Just use 'mv -i samefile newfile' command.&lt;BR /&gt;Answer yes to the first, no to the second.&lt;BR /&gt;&lt;BR /&gt;Now, you've got two different file names, which helps a lot.&lt;BR /&gt;&lt;BR /&gt;Now do &lt;BR /&gt;&lt;BR /&gt;ls | od -c &lt;BR /&gt;&lt;BR /&gt;to see if you've fixed the problem already, or if samefile still has junk in it.  Keep in mind that you had a 50/50 chance of fixing the issue in the previous command.&lt;BR /&gt;&lt;BR /&gt;If it does, run "mv -i ./*samefile* anotherfilename" &lt;BR /&gt;and answer yes to your command.&lt;BR /&gt;&lt;BR /&gt;At this point, you should have two different names, both clean. One a directory, one a file, fix them both like you'd like have them finally be represented.&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Wed, 03 Nov 2010 18:17:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-basic-cp-command-11iv2/m-p/5261440#M472159</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2010-11-03T18:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX - basic cp  command 11iv2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-basic-cp-command-11iv2/m-p/5261441#M472160</link>
      <description>ll on the inode worked fine.thanks!!</description>
      <pubDate>Mon, 08 Nov 2010 14:02:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-basic-cp-command-11iv2/m-p/5261441#M472160</guid>
      <dc:creator>Tom Haddad</dc:creator>
      <dc:date>2010-11-08T14:02:19Z</dc:date>
    </item>
  </channel>
</rss>

