Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- D:[2016][01 JANUARY]INSTANCE
- │
- ├───aaa
- │ 01.new
- │ 02.new
- │ 03.new
- │ 04.new
- │ 05.new
- │ 13.old
- │ 14.old
- │
- ├───bbb
- │ 01.new
- │ 02.new
- │ 03.new
- │ 04.new
- │ 05.new
- │ 06.new
- │ 07.new
- │ 08.new
- │ 13.old
- │ 14.old
- │ 15.old
- │
- ├───ccc
- │ 01.new
- │ 02.new
- │ 03.new
- │ 04.new
- │ 05.new
- │
- └───ddd
- 01.new
- 02.new
- 03.new
- 04.new
- 05.new
- 06.new
- 07.new
- 08.new
- 09.new
- 11.old
- D:[2016][01 JANUARY]INSTANCE
- │
- ├───aaa
- │ ├───01
- │ │ 01.new
- │ │ 02.new
- │ │ 03.new
- │ │
- │ ├───02
- │ │ 04.new
- │ │ 05.new
- │ │
- │ └───zz
- │ 13.old
- │ 14.old
- │
- ├───bbb
- │ ├───01
- │ │ 01.new
- │ │ 02.new
- │ │ 03.new
- │ │
- │ ├───02
- │ │ 04.new
- │ │ 05.new
- │ │ 06.new
- │ │
- │ ├───03
- │ │ 07.new
- │ │ 08.new
- │ │
- │ └───zz
- │ 13.old
- │ 14.old
- │ 15.old
- │
- ├───ccc
- │ ├───01
- │ │ 01.new
- │ │ 02.new
- │ │ 03.new
- │ │
- │ └───02
- │ 04.new
- │ 05.new
- │
- └───ddd
- ├───01
- │ 01.new
- │ 02.new
- │ 03.new
- │
- ├───02
- │ 04.new
- │ 05.new
- │ 06.new
- │
- ├───03
- │ 07.new
- │ 08.new
- │ 09.new
- │
- └───zz
- 11.old
- Look inside INSTANCE
- for every folder inside
- if any *.old file exists create a folder called ZZ and move there all of them
- Then
- create folder 01 and move 100 of the *.new files
- create folder 02 and move the next 100
- create folder 03 and move the next 100
- ...
- Until all the files have been moved
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement