find . -type d -maxdepth 1 -not -newermt 20141231 -exec rm -r "{}" \;
Last active
March 18, 2019 13:24
-
-
Save renshuki/0f819927a931cddf5d3c63d6edc0c385 to your computer and use it in GitHub Desktop.
Command to delete all folders older than year 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment