1838604 Members
3429 Online
110128 Solutions
New Discussion

Managing files

 
SOLVED
Go to solution
Eli_pok
Frequent Advisor

Managing files

Hi,
I couldn't find an option to know where the file came from? What I mean is the oposite option to: swlist -x level=file depot_name.
Is there any command that SD-UX will check his DB to check if the file came from a depot and if so from which ?

Thanks ahead.
3 REPLIES 3
Dennis Handly
Acclaimed Contributor
Solution

Re: Managing files

You just search everything:
$ swlist -l file | fgrep filename
Eli_pok
Frequent Advisor

Re: Managing files

Havn't thought about it....
Thanks.
Dennis Handly
Acclaimed Contributor

Re: Managing files

If you are root you can find it faster by using:
# find /var/adm/sw/products -name INFO -exec grep -l -e file1 {} +