title: Renaming files in a folder to sequential numbers
body: <p>I want to rename the files in a directory to sequential numbers. Based on creation date of the files.</p>
  
  <p>For Example <code>sadf.jpg</code> to <code>0001.jpg</code>, <code>wrjr3.jpg</code> to <code>0002.jpg</code> and so on, the number of leading zeroes depending on the total amount of files (no need for extra zeroes if not needed).</p>