My company has a set of linux servers that users store files on. The files following a common naming scheme of #####,###,### with the numbers correlating to fields unique to them. They are supposed to remove the files after 30 days but that is not happening and as a result of a growing user community some of the servers are running low on disk space.
Does anyone out there know of a way I could script a process that would search all the partitions of the linux servers for any file with the above naming scheme that would be older then 30 days and move it to a new folder?
That would make it so much easier to clean up because some of the users store files many levels deep and its starting to occupy to much time just looking for them let a lone deciding whether or not it can be deleted.
Any help would be greatly appreciated!