Some times we want to sort files by name, like:
day1.py, day2.py, day3.py......day33.py
but computer don't work that way, it always sort files like:
day1.py, day10.py, day11.py...day19.py, day2.py, day20.py, day21.py....day29.py, day3.py, day30.py...
Nice Sort can help us to change those files name to:
day001.py, day002.py....day033.py
so that computer can sort them in the way we want it to.
Via menu File => Open Folder... to open the folder where the files are;
Via menu AnXu => Nice Sort to execute Nice Sort;
You can see now the file names in the sidebar changed from:
xxx1.xx...xxx11.xx...xxx111.xx...xxx999.xx
to
xxx001.xx...xxx011.xx...xxx111.xx...xxx999.xx
The command binded to menu AnXu => Nice Sort is nice_sort
, or in camel mode NiceSort;
You can assign a new menu or hotkey to it if you want.
有时我们希望电脑能把一些类同的文件名按名称中的数字排序,比如:
day1.py, day2.py, day3.py......day33.py
可是“睿智”的电脑却总是把它们排成:
day1.py, day10.py, day11.py...day19.py, day2.py, day20.py, day21.py....day29.py, day3.py, day30.py...
智序 能帮助我们自动把这种文件排量改名为:
day001.py, day002.py....day033.py
这样电脑就能按照我们期望的方式来对它们进行排序了。
通过菜单 File => Open Folder... 在新窗口中打开你想排序的文件所在的文件夹;
再通过菜单 AnXu => Nice Sort 来启动 智序;
此时你会看到侧边栏里的文件名都从:
xxx1.xx...xxx11.xx...xxx111.xx...xxx999.xx
变为了:
xxx001.xx...xxx011.xx...xxx111.xx...xxx999.xx
菜单 AnXu => Nice Sort 绑定的命令为nice_sort
,也就是驼峰模式下的 NiceSort;
你可以手动为它绑定新的菜单或快捷键。