Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

How can i List out the folders under a directory del if X days old

$
0
0
OS: Linux
Code wise can be pure C++ or boost::filesystem also can

I need to code in my program such it will be able to read the list of available folders under a specific directory and delete them if their last write date is X days old but i have yet to figure out how to do that. anyone can help? thanks!

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>