Short and sweet: One of my hosting subscriptions got hacked. I ran this command: find path-to-folder/ -mtime -7 -name *.php printthis produced about 11 pages worth of malicious code which was added on Jan. 30th. I dont want to individually delete all these items but rather create a script or create a command to perform the delete task once.Id like to accomplish one of the following:create a script which will delete files based on the paths I enter into a linked .txt file - ORa single command to delete all file with a -name *.php from a given folder based on a specific date range? Kind of tweaking the command from above - if this is possible??.
how to delete files from a specific date and extension
linux;command line;deleted files