NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

find all file specific gid on my filer

grocanar
1,339 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 ACCEPTED SOLUTION

AmitKerkar
1,281 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

 

View solution in original post

1 REPLY 1

AmitKerkar
1,282 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