title: How to append date and time in multiple file in a folder while moving it to another folder
body: <pre><code>public static void main(String[] args) {
  
      DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
      Date date = new Date();
  </code></pre>
  
  <p>Source Folder   </p>
  
  <pre><code>     File source = new File("D:\\A1\\"); 
       File dest = new File("D:\\A2\\");
       File[] files = source.listFiles(); 
  
  
      for (File file: source.listFiles()){
                 String x=(source+"\\"+file.getName());
           String y=(dest + "\\"+ file.getName());
  
       File f1 = new File(x);
       f1.renameTo(new File(y));      
  
       }
  </code></pre>
  
  <p>This code is moving the file from source to destination folder but i want when file moved to destination folder . it appends the the system date with its name 
  Please Help</p>