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

How to script a automated way of finding old files \ Folders so that we can delete them?

Scott_CP
3,233 Views

Hi There,  I am not sure i picked the correct Board, but here goes.

 

We have a lot of older data on several windows CIFS that needs to be cleaned up , preferably deleted.   Rather than just search the folder structure, we were wondering if we could use Netapps built in  File Analytics  Rest APIs to help us  develop and use scripts. 

My problem is we don't have much in the way of in house expertise to create these .  I am looking for some guidance on what i could share from your input  here to a consultant who would know what do do with it.  

We are looking to get rid of data that hasn't been modified or accessed in 6 years.  My thinking is a script could scan our cifs and give us a report and then give us a option to delete.

 

Feel free to ask me questions on this request.

 

thanks,

Scott

Is this doable?

 

1 ACCEPTED SOLUTION

sanmanjax
3,158 Views

Scott,

Some completely unsolicited advice - use BlueXP Classification to scan for stale files, get a true report on share, file & folder security, identify sensitive information & more. The best part is that it is FREE under 500 TiB!

I'm usually a scripter, but this tool rocks and helps with many other admin-type tasks. Results can be exported and fed into purpose-built scripts to delete, or archive, or whatever.

Best wishes,
Daniel

View solution in original post

4 REPLIES 4

TMACMD
3,216 Views

Xcp.netapp.com

 

 this is a great utility with files analytics also. Made and supported by Netapp

sanmanjax
3,159 Views

Scott,

Some completely unsolicited advice - use BlueXP Classification to scan for stale files, get a true report on share, file & folder security, identify sensitive information & more. The best part is that it is FREE under 500 TiB!

I'm usually a scripter, but this tool rocks and helps with many other admin-type tasks. Results can be exported and fed into purpose-built scripts to delete, or archive, or whatever.

Best wishes,
Daniel

Sanaman
3,060 Views

Have you checked the system manager ->Volumes->File System

Scott_CP
2,981 Views

thanks,

Yes i have used that built in browser, however i need to be able to give
third party access , as well, they would like to use something like Blue XP
that will generate a report on older data . I am looking into that
solution currently.


Scott Franks

Public