ONTAP Discussions

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

Scott_CP
1,705 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
1,630 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
1,688 Views

Xcp.netapp.com

 

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

sanmanjax
1,631 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
1,532 Views

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

Scott_CP
1,453 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