Hosting Articles Technical Articles

How to Delete the bulk files Date Wise In Linux

How to Delete the bulk files Date Wise In Linux

Issue:

I want to deleted the bulk amount of files from one folder.I thought those are spam files.I want to deleted last 30days files from the folder.

Solutions:

-Log in to the server as root.

-check the below command.

find /home/mydomain/public_html/top_folder/folder -mtime +30 -exec rm {} \;

-It will take some time to complete this process.

Cpanel,Files,Folder,Cron Job,WHM,cpanel details.

About the author

admin

Add Comment

Click here to post a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.