Skip to content
4PulcherPublic

About

A easy way to sort your folders and files

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

517 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sort - unified repository

One repository, one branch, one directory per version, three languages each.

Root - the latest version (V17.5)

File What
Sort.sh latest Bash edition (V17.5, self-contained, threaded)
Sort.pas latest FreePascal edition (V17.5 port)
Sort.py latest Python edition (V17.5 era-gated, with --magic standalone engine, stdlib only)

versions/ - every version, in order

Each era lives in versions/Sort-V<version>/ and always contains the same four files:

  • Sort-V<version>.sh - the Bash edition of that era
  • Sort-V<version>.pas - its FreePascal translation
  • Sort-V<version>.py - its standalone Python edition
  • README.md - what that version is and does

Lineage: V1.0 - V17.5 (see other/Sort-Versions.md for the full chronology and era table).

The Python editions

Every Sort-V#.##.py is / fully independent: pure Python standard library, no external commands (file, ffprobe, identify, exiftool...) and no imports of other project files. Run it anywhere with just python3. Each one is gated to its era's own modes, options and keywords, and prints its exact scope with -h. Where the Bash era needed an external tool with no native equivalent, that option is stripped (documented in the version's README). /python3 Sort-V17.3.py --self-test/ verifies any of them in seconds.

other/ - everything that is not a version

  • Sort.cpp - the C++20 interactive organizer
  • functions/ - the Bash function toolkit (used by the V16.x lineage)
  • FUNCTIONS/ - the earliest legacy helper library
  • Legacy/ - the archived 4Pulcher-CSort branch (v2.0 "with colors" era)
  • python/ - the Python development tree (engine + per-line packages)
  • Metadata-driven/, Media-Intelligent/ - the two separate mini-lineages
  • Sort-Flow.md, Sort-Versions.md, VERSIONS.txt - maps and docs

Quick start

./Sort.sh --help                      # latest (Bash)
./Sort.sh --magic Downloads/*          # magic-number detection report
python3 Sort.py --mode=dummy Downloads
python3 versions/Sort-V9.3/Sort-V9.3.py -h     # any historical era

About

A easy way to sort your folders and files

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages