<?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 Soft Links in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/soft-links/m-p/3521149#M219931</link>
    <description>&lt;BR /&gt;HP-UX 11.0&lt;BR /&gt;&lt;BR /&gt;After we migrated our K system to our new L2000 a complete copy of the old system was imported into the new L2000. This was done in case something failed on the new system files were easily accessible. &lt;BR /&gt;&lt;BR /&gt;Since we no longer need the Ksystem directory on the L2000 we are in the process of removing it. The Ksystem directory contains soft links to live production data on the system. What's an easy way to remove all the softlinks without removing the live data files they are attached to and then completely romoving all the files in this directory.&lt;BR /&gt;&lt;BR /&gt;Plan of Action&lt;BR /&gt;1. Already backed up Ksystem directory&lt;BR /&gt;2. Remove softlinks (waiting)&lt;BR /&gt;3. Remove all files under Ksystem directory (waiting)&lt;BR /&gt;&lt;BR /&gt;To remove the directory using rm -r is not a problem but must ensure all softlinks are removed to ensure live data is not deleted.&lt;BR /&gt;&lt;BR /&gt;I know swremove can remove soft links from the software depot without deleting original files but can it also remove soft links from other directories as well.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Doug</description>
    <pubDate>Fri, 08 Apr 2005 13:22:04 GMT</pubDate>
    <dc:creator>Doug_85</dc:creator>
    <dc:date>2005-04-08T13:22:04Z</dc:date>
    <item>
      <title>Soft Links</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/soft-links/m-p/3521149#M219931</link>
      <description>&lt;BR /&gt;HP-UX 11.0&lt;BR /&gt;&lt;BR /&gt;After we migrated our K system to our new L2000 a complete copy of the old system was imported into the new L2000. This was done in case something failed on the new system files were easily accessible. &lt;BR /&gt;&lt;BR /&gt;Since we no longer need the Ksystem directory on the L2000 we are in the process of removing it. The Ksystem directory contains soft links to live production data on the system. What's an easy way to remove all the softlinks without removing the live data files they are attached to and then completely romoving all the files in this directory.&lt;BR /&gt;&lt;BR /&gt;Plan of Action&lt;BR /&gt;1. Already backed up Ksystem directory&lt;BR /&gt;2. Remove softlinks (waiting)&lt;BR /&gt;3. Remove all files under Ksystem directory (waiting)&lt;BR /&gt;&lt;BR /&gt;To remove the directory using rm -r is not a problem but must ensure all softlinks are removed to ensure live data is not deleted.&lt;BR /&gt;&lt;BR /&gt;I know swremove can remove soft links from the software depot without deleting original files but can it also remove soft links from other directories as well.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Doug</description>
      <pubDate>Fri, 08 Apr 2005 13:22:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/soft-links/m-p/3521149#M219931</guid>
      <dc:creator>Doug_85</dc:creator>
      <dc:date>2005-04-08T13:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Soft Links</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/soft-links/m-p/3521150#M219932</link>
      <description>Hi&lt;BR /&gt;Yes, you can remove the link only. To remove softlinks &lt;BR /&gt;find . -type l -exec rm {} \;</description>
      <pubDate>Fri, 08 Apr 2005 13:28:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/soft-links/m-p/3521150#M219932</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2005-04-08T13:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Soft Links</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/soft-links/m-p/3521151#M219933</link>
      <description>If you are concerned about the links, search for them first and then manually remove them.&lt;BR /&gt;&lt;BR /&gt;# find /Ksystem_dir -type l &lt;BR /&gt;&lt;BR /&gt;This will give you a list of all links in the Ksystem_dir and all its sub-directories.  From there you can verify that you want to remove them and do so manually.&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Apr 2005 13:28:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/soft-links/m-p/3521151#M219933</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-04-08T13:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Soft Links</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/soft-links/m-p/3521152#M219934</link>
      <description>Hi Doug,&lt;BR /&gt;&lt;BR /&gt;When you remove a link the original file is not deleted. Allthough when changes are made to original file or any of the links file changes. So just take care before removing. See that the old files are not getting updated with the time  stamp on them. &lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Sat, 09 Apr 2005 22:57:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/soft-links/m-p/3521152#M219934</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-04-09T22:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Soft Links</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/soft-links/m-p/3521153#M219935</link>
      <description>I went ahead and replaced "rm" with unlink. This was done to ensure only the link was deleted.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Doug</description>
      <pubDate>Mon, 11 Apr 2005 10:25:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/soft-links/m-p/3521153#M219935</guid>
      <dc:creator>Doug_85</dc:creator>
      <dc:date>2005-04-11T10:25:42Z</dc:date>
    </item>
  </channel>
</rss>

