I need to write a script that moves all folders within a given parent-directory that are modified after a given time. I want to either use bash or Python.
so it should be something like.
forall ${DIR} in ${PARENT_DIR}
If ${DIR} is modified after ${TIME}
move ${DIR} to ${NEW_DIR}
It has to check the modification of the directories every 15 min and move any newly created directories.
Thanks for the help