Advertisement
Guest User

Untitled

a guest
Sep 27th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. D:[2016][01 JANUARY]INSTANCE
  2. ├───aaa
  3. │ 01.new
  4. │ 02.new
  5. │ 03.new
  6. │ 04.new
  7. │ 05.new
  8. │ 13.old
  9. │ 14.old
  10. ├───bbb
  11. │ 01.new
  12. │ 02.new
  13. │ 03.new
  14. │ 04.new
  15. │ 05.new
  16. │ 06.new
  17. │ 07.new
  18. │ 08.new
  19. │ 13.old
  20. │ 14.old
  21. │ 15.old
  22. ├───ccc
  23. │ 01.new
  24. │ 02.new
  25. │ 03.new
  26. │ 04.new
  27. │ 05.new
  28. └───ddd
  29. 01.new
  30. 02.new
  31. 03.new
  32. 04.new
  33. 05.new
  34. 06.new
  35. 07.new
  36. 08.new
  37. 09.new
  38. 11.old
  39.  
  40. D:[2016][01 JANUARY]INSTANCE
  41. ├───aaa
  42. │ ├───01
  43. │ │ 01.new
  44. │ │ 02.new
  45. │ │ 03.new
  46. │ │
  47. │ ├───02
  48. │ │ 04.new
  49. │ │ 05.new
  50. │ │
  51. │ └───zz
  52. │ 13.old
  53. │ 14.old
  54. ├───bbb
  55. │ ├───01
  56. │ │ 01.new
  57. │ │ 02.new
  58. │ │ 03.new
  59. │ │
  60. │ ├───02
  61. │ │ 04.new
  62. │ │ 05.new
  63. │ │ 06.new
  64. │ │
  65. │ ├───03
  66. │ │ 07.new
  67. │ │ 08.new
  68. │ │
  69. │ └───zz
  70. │ 13.old
  71. │ 14.old
  72. │ 15.old
  73. ├───ccc
  74. │ ├───01
  75. │ │ 01.new
  76. │ │ 02.new
  77. │ │ 03.new
  78. │ │
  79. │ └───02
  80. │ 04.new
  81. │ 05.new
  82. └───ddd
  83. ├───01
  84. │ 01.new
  85. │ 02.new
  86. │ 03.new
  87. ├───02
  88. │ 04.new
  89. │ 05.new
  90. │ 06.new
  91. ├───03
  92. │ 07.new
  93. │ 08.new
  94. │ 09.new
  95. └───zz
  96. 11.old
  97.  
  98. Look inside INSTANCE
  99.  
  100. for every folder inside
  101.  
  102. if any *.old file exists create a folder called ZZ and move there all of them
  103.  
  104. Then
  105.  
  106. create folder 01 and move 100 of the *.new files
  107. create folder 02 and move the next 100
  108. create folder 03 and move the next 100
  109. ...
  110.  
  111. Until all the files have been moved
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement