Click here to Skip to main content
16,018,394 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
script to delete subdirectories in linux which are older than 30 days

What I have tried:

i'm able to identify the path but under subdirectory we need to delete which are older than 30 days folder
Posted
Updated 16-Aug-22 23:46pm
Comments
Richard Deeming 17-Aug-22 5:31am    
You seem to have mistaken the "quick answers" forum for your favourite search engine.

Try actually asking a question, rather than just dumping your search query and expecting us to do all the work for you.

1 solution

Use the find(1) - Linux man page[^] shell command. It has plenty of options to help find a list of the files you want.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900