Skip to content

Auto change file names from `day1, day2, day3.....day33` to `day001, day002, day003.....day033`, so that computer can sort files by name in a better way.

License

Notifications You must be signed in to change notification settings

ChengAnXu2014/NiceSort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

下面有中文介绍

Nice Sort

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.

Usage

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

Command

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
你可以手动为它绑定新的菜单或快捷键。

About

Auto change file names from `day1, day2, day3.....day33` to `day001, day002, day003.....day033`, so that computer can sort files by name in a better way.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages