Skip to content
This repository was archived by the owner on Sep 30, 2025. It is now read-only.
This repository was archived by the owner on Sep 30, 2025. It is now read-only.

natural sort #233

Description

@BenjaminKobjolke

I have a list of files like this:
test1.txt
test10.txt
test2.txt
test3.txt
test4.txt
test5.txt
test6.txt
test7.txt
test8.txt
test9.txt

I want to rename them to
document_01.txt
document_02.txt
....

But I can't sort the files in a way that test10.txt is the last file.

Solution:
Add support for --sort natural

https://en.wikipedia.org/wiki/Natural_sort_order

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions