title: Deleting Folder based on Name
body: <p>I have a folder list with folders named 2014-01-0,2015-05-1 and so on where 01 and 05 is the number of the week considering 52 weeks in a year<br>
  I need to write a script in linux that keeps the latest 2 folders and deletes the rest. My solution is to store the list of directories in an array and then compare them but I cannot figure out on how to remove the "-" from the folder name and store it in an array. If you have any other solution feel free to mention it</p>