ONTAP Discussions

find all file specific gid on my filer

grocanar
89 Views

Hi

Is there a way to find all files that belong to a range of specific gid ( like < 1000 ) on all my NFS share ? 

 

Because i need to change the gid of all groups < 1000 to groups > 1000 

1 REPLY 1

AmitKerkar
31 Views

Assuming you have mounted all exports on clients

 

find /mnt -group 0 -o -group 1 -o -group 2 -o ... -o -group 999 > files.txt

 

Public