我需要编写一个脚本来移动给定父目录内给定时间后修改的所有文件夹。 我想要使用bash或Python。 所以它应该是这样的。 forall ${DIR} in ${PARENT_DIR}
If ${DIR} is modified after ${TIME}
move ${DIR} to ${NEW_DIR}
它必须每15分钟检查目录的修改并移动任何新创建的目录。 感谢您的帮助
我想获取变量的上次更新时间。 static Date ti;
for (int i = 0; i <= attachedControllers.length; i++)
{ ti = null;
controllers tempc = attachedControllers[i];
ti = tempc.getLastUpdated(); // return the la