<?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 converting filenames using sed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-filenames-using-sed/m-p/2807284#M939697</link>
    <description>Hi Folks,&lt;BR /&gt;&lt;BR /&gt;   I need your help again. I am trying to move files from VMS to unix. These files are moved to a temporary staging area on unix and will then be moved on to final Unix target area.  &lt;BR /&gt;&lt;BR /&gt;   for example, &lt;BR /&gt;   the file $$rxdata_af.bck need to be moved onto target area, but the I can't use the following command directly(as unix interprets the $$ as pid).&lt;BR /&gt;    mv $$rxdata_af.bck /data/$$rxdata_af.bck &lt;BR /&gt;    So, I need to add \\ to the beginning of each symbols like $ ; etc. Please help me constructing a simple sed command to prefix a \ to these special charcters.&lt;BR /&gt;&lt;BR /&gt;    Note that we can not predict how many times the $ will repeat in a file name. &lt;BR /&gt;&lt;BR /&gt;TIA,&lt;BR /&gt;&lt;BR /&gt;Kris</description>
    <pubDate>Mon, 16 Sep 2002 22:16:55 GMT</pubDate>
    <dc:creator>Kris_5</dc:creator>
    <dc:date>2002-09-16T22:16:55Z</dc:date>
    <item>
      <title>converting filenames using sed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-filenames-using-sed/m-p/2807284#M939697</link>
      <description>Hi Folks,&lt;BR /&gt;&lt;BR /&gt;   I need your help again. I am trying to move files from VMS to unix. These files are moved to a temporary staging area on unix and will then be moved on to final Unix target area.  &lt;BR /&gt;&lt;BR /&gt;   for example, &lt;BR /&gt;   the file $$rxdata_af.bck need to be moved onto target area, but the I can't use the following command directly(as unix interprets the $$ as pid).&lt;BR /&gt;    mv $$rxdata_af.bck /data/$$rxdata_af.bck &lt;BR /&gt;    So, I need to add \\ to the beginning of each symbols like $ ; etc. Please help me constructing a simple sed command to prefix a \ to these special charcters.&lt;BR /&gt;&lt;BR /&gt;    Note that we can not predict how many times the $ will repeat in a file name. &lt;BR /&gt;&lt;BR /&gt;TIA,&lt;BR /&gt;&lt;BR /&gt;Kris</description>
      <pubDate>Mon, 16 Sep 2002 22:16:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-filenames-using-sed/m-p/2807284#M939697</guid>
      <dc:creator>Kris_5</dc:creator>
      <dc:date>2002-09-16T22:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: converting filenames using sed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-filenames-using-sed/m-p/2807285#M939698</link>
      <description>Hi Kris:&lt;BR /&gt;&lt;BR /&gt;Simply put single quote marks around your filename so the shell doesn't interpret them:&lt;BR /&gt;&lt;BR /&gt;# mv '$rxdata_af.bck' '/data/$$rxdata_af.bck'&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF... &lt;BR /&gt;</description>
      <pubDate>Mon, 16 Sep 2002 23:02:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-filenames-using-sed/m-p/2807285#M939698</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-09-16T23:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: converting filenames using sed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-filenames-using-sed/m-p/2807286#M939699</link>
      <description>VMS has rcp!&lt;BR /&gt;&lt;BR /&gt;I used to use it all the time!&lt;BR /&gt;&lt;BR /&gt;Also, this might be of help:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www-focus.fnal.gov/dart/imp.html" target="_blank"&gt;http://www-focus.fnal.gov/dart/imp.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 16 Sep 2002 23:51:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-filenames-using-sed/m-p/2807286#M939699</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-09-16T23:51:14Z</dc:date>
    </item>
  </channel>
</rss>

