1. find the files modified before a certain time
find /path/to/folder/ -mmin +60
2. find the modified after a certain time
find /path/to/folder/ -mmin -60
<af:document id="d1" title="#{sessionScope.pageTitle}" partialTriggers="r1" initialFocusId="r1:0:sf1:it1">
public static void main(String[] s) throws FileNotFoundException, IOException { String count = ""; long total=0; for (int j = 0; j < 20; j++) { long temp=calculateCostofSOP(); count = count + String.valueOf(temp) + " "; total=total+temp; } System.out.println(count); System.out.println(total); }This loop iterator 20 times to have a clear picture of COST of SOP. Let's now have our implementation of calculateCostofSOP
public static long calculateCostofSOP() throws FileNotFoundException, IOException { FileReader fr = new FileReader("C:\\gre"); PrintWriter pw=new PrintWriter("C:\\grew"); BufferedReader bfr = new BufferedReader(fr); String line = ""; StringBuilder sb = new StringBuilder(); long sv = System.currentTimeMillis(); while ((line = bfr.readLine()) != null) { line = line.replace("\t", "="); sb.append(line + "\n"); System.out.println(line); //comment this line while we use file out // pw.write(line + "\n"); //comment this line while we use console out } pw.close(); bfr.close(); FileWriter f = new FileWriter("C:\\gre"); BufferedWriter buffW = new BufferedWriter(f); buffW.write(sb.toString()); buffW.close(); return (System.currentTimeMillis() - sv); }Now look at the output we received. It took whopping 109028 milliseconds. The file "gre" was not too long. It contains data from here https://quizlet.com/47571/export.
//System.out.println(line); pw.write(line + "\n");
<af:panelFormLayout>
<af:resource type="javascript" source="/js/custom.js"/>
</af:panelFormLayout>