thomastull
Verified User
- Joined
- Feb 11, 2014
- Messages
- 10
Hello
I am new to this forum. I am stuck in a script and need help with you guys.
I need to design a shell/batch script in which I have to delete some files older than 15 days except php or txt or xls.
The script should search for files older than 15 days in /home/username/public_html/subfolders/*.doc (subfolders in public_html) or in a folders above public_html.
Excluding files in public_html...Eg. /home/username/public_html/*.php
I am new to this forum. I am stuck in a script and need help with you guys.
I need to design a shell/batch script in which I have to delete some files older than 15 days except php or txt or xls.
The script should search for files older than 15 days in /home/username/public_html/subfolders/*.doc (subfolders in public_html) or in a folders above public_html.
Excluding files in public_html...Eg. /home/username/public_html/*.php