@@ -0,0 +1,1013 @@
+package org.neu.ccs.mechanical_turk.tools;%0A%0Aimport java.io.File;%0Aimport java.text.SimpleDateFormat;%0A%0Apublic class ImageRenamer %7B%0A%0A%09private static final String imageDir = System.getProperty(%22user.home%22) + %22/Pictures%22;%0A%09%0A%09public static void main(String%5B%5D args) %7B%0A%09%09File dir = new File(imageDir);%0A%09%09System.out.println(dir.getAbsolutePath());%0A%09%09File%5B%5D files = dir.listFiles();%0A%09%09%0A%09%09SimpleDateFormat sdf = new SimpleDateFormat(%22yyyy-MM-dd HH-mm-ss%22);%0A%09%09%0A%09%09for (int i = 0; i %3C files.length; i++) %7B%0A%09%09%09if (files%5Bi%5D.getName().endsWith(%22.png%22)) %7B%0A%09%09%09%09String oldName = files%5Bi%5D.getName();%0A%09%09%09%09System.out.print(oldName);%0A%09%09%09%09System.out.print(%22 --%3E %22);%0A%09%09%09%09String newName = sdf.format(files%5Bi%5D.lastModified());%0A%09%09%09%09System.out.println(newName);%0A%09%09%09%09%0A%09%09%09%09if (!files%5Bi%5D.renameTo(new File(files%5Bi%5D.getParent() + %22/%22 + newName + %22.png%22))) %7B%0A%09%09%09%09%09System.err.println(%22Failed to rename %22 + oldName + %22 to %22 + newName);%0A%09%09%09%09%7D else %7B%0A%09%09%09%09%09System.out.println(%22Successfully renamed %22  + oldName + %22 to %22 + newName);%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Add quick image renaming tool