[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Finding unused packages




On 19 Apr 2002, Peter Whysall wrote:

> What we need to do is tell "find" to only find files that have
> executable bits set, with the -perm switch - however, the following:
>
> find / -type f -atime +30 perm ugo+x | xargs dpkg -S | sort | uniq >
> old.txt
>
> doesn't return anything. Can someone point out the staggering (yet quite
> invisible to me) stupidity I'm undoubtedly committing?

how about:

find / -type f -atime +30 -perm +111 | xargs dpkg -S | sort | uniq >
old.txt

Mike



-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: