[HPADM] [SUMMARY] Using swlist output with swremove

From: Epstein, Kevin (kepstein@uti.co.za)
Date: Tue Mar 04 2003 - 08:27:00 EST


Hi All,

Thanks to all those who responded. It seems that this isn't really possible
because SD-UX works only with products/bundles, and filesets and does not go
down to the level of files.

See original question below.

============================================================================
====

Hi All,

I Want to do the following. Create a list of files using swlist command:
# swlist -C sendmaillist -l file InternetSrvcs.INETSVCS-RUN

I get an output looking something similar to this:
hostname:/>swlist -C sendmaillist -l file InternetSrvcs.INETSVCS-RUN
# Initializing...
# Contacting target "hostname.mydomain.com"...
#
# Target: hostname.mydomain.com:/
#

# InternetSrvcs.INETSVCS-RUN B.11.00 INETSVCS-RUN
  /
  /etc/ftpd
  /etc/ftpd/ftp-exec
  /etc/ftpd/ftpusers
  /etc/ftpd/pids
  /etc/gated.conf
  /etc/inetsvcs.conf
  /etc/mail/aliases
  /etc/mail/sendmail.cf
  /etc/mail/sendmail.cw
  /etc/mail/service.switch

I then want to use the list that was generated with swremove so that
swremove ONLY removes the files in this list. I'm not quite sure how to go
about this. I've tried the session files, but I'm not seeming to have much
luck. Can anyone give me some advice on this. TIA. I will summarise.

Rgds,
Kevin Epstein
UTi - Centurion

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:26 EDT