# How to sort the downloaded mega files

**URL:** <https://onehack.st/t/how-to-sort-the-downloaded-mega-files/171807>\
**Category:** Discussion & Solutions\
**Tags:** solved\
**Created:** [February 4, 2021, 11:42am UTC](https://onehack.st/t/how-to-sort-the-downloaded-mega-files/171807 "2021-02-04T11:42:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aj\_senpai](https://onehack.st/user_avatar/onehack.st/aj_senpai/32/29680_2.png) [@Aj\_senpai](https://onehack.st/u/Aj_senpai)\
**Post date:** [February 4, 2021, 11:42am UTC](https://onehack.st/t/how-to-sort-the-downloaded-mega-files/171807/1 "2021-02-04T11:42:25Z")

</div>

i have download around ~1700 files and all the files were downloaded in one single directory instead of sub-directories, thus it is very tedious to rearrange such large amount of files, i am going back and forth bw mega site and directories, is there any way to rearrange the downloaded files ???

---

<div class="post-metadata">

**Author:** ![Dean\_Kruger](https://onehack.st/user_avatar/onehack.st/dean_kruger/32/49420_2.png) [@Dean\_Kruger](https://onehack.st/u/Dean_Kruger)\
**Post date:** [February 4, 2021, 12:19pm UTC](https://onehack.st/t/how-to-sort-the-downloaded-mega-files/171807/2 "2021-02-04T12:19:28Z")

</div>

Use a file renaming utility (like Advanced Renamer) to sort them into folders according to “Creation Date.” It would be a start at least…

---

<div class="post-metadata">

**Author:** ![Aj\_senpai](https://onehack.st/user_avatar/onehack.st/aj_senpai/32/29680_2.png) [@Aj\_senpai](https://onehack.st/u/Aj_senpai)\
**Post date:** [February 4, 2021, 2:42pm UTC](https://onehack.st/t/how-to-sort-the-downloaded-mega-files/171807/3 "2021-02-04T14:42:40Z")

</div>

i can already sort the files with type and date, it won’t help since all the files were downloaded on the same date. Anyways thanks i appreciate your help 🙂  
Good Day

---

<div class="post-metadata">

**Author:** ![Dontguessme](https://onehack.st/user_avatar/onehack.st/dontguessme/32/16087_2.png) [@Dontguessme](https://onehack.st/u/Dontguessme)\
**Post date:** [February 5, 2021, 4:16am UTC](https://onehack.st/t/how-to-sort-the-downloaded-mega-files/171807/4 "2021-02-05T04:16:16Z")

</div>

you can write an automation script with Powershell and selenium

First, build a directory structure using selenium from the mega cloud. website

Write PowerShell script to refer the directory structure and move and rename it 🙂
