[TriLUG] script to find non-alpha GID

Igor Partola igor at igorpartola.com
Thu Jan 17 16:12:25 EST 2013


$ find . | xargs ls -ld $1 | awk '{print $4}' | egrep -v '[a-z]'

Something like that?

On Thu, Jan 17, 2013 at 4:08 PM, Mark Fowle <mfowle at adeliesystems.com>wrote:

> All -  I am not thinking clear today I guess -- does anyone know of a
> quick/easy way to do a find on a directory to find only GID's that have
> numeric values and skip the alpha ones ?
>
> TIA,
> Mark
> --
> This message was sent to: Igor Partola <igor at igorpartola.com>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that
> address.
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web  :
> http://www.trilug.org/mailman/options/trilug/igor%40igorpartola.com
> TriLUG FAQ          :
> http://www.trilug.org/wiki/Frequently_Asked_Questions
>



More information about the TriLUG mailing list