Aix delete files older than




















The specific report name is sandwiched between "Daily" and the date it was generated in the file name. So Daily. I have been unsuccessful in using ". This may be specific to AIX 6.

AIX commands can vary by version. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 4 years, 5 months ago. Active 7 months ago. Viewed 10k times. Improve this question. Kara 5, 15 15 gold badges 49 49 silver badges 56 56 bronze badges. Add a comment. Walter on January 4, pm.

Antonio Reyes on October 21, am. Dave on October 15, am. JR on October 31, am. Ex:- Delete all files and folders from a specified path older than Jan Reply. Lakshmi on October 18, am. How to find and delete files older than 90 days in linux? Bachsau on September 27, pm. Lokesh on September 19, am. Rahul on August 17, am. Hi Adhir, Tutorial has been updated. Tobias Heel on April 6, pm. I get the same error. What do you do at this time? There is need to delete those unnecessary files.

Warning: -delete is non-standard nonportable and risky when using gfind. Remember that rm has some security restrictions, but the gfind man page does not mention such a restrictions for -delete.

I therefore recommend to use the official method:. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Delete only files older than 7 days: -mtime and find Ask Question.

Asked 3 years, 7 months ago. Active 1 year, 9 months ago. Viewed 27k times. Found a few similar questions but were not quite a match. Improve this question.



0コメント

  • 1000 / 1000