MAGICSORT(1)
π MAGICSORT(1) β Magic Rescue π
β¨ NAME β¨
okay so bestie, meet magicsort β it's here to categorize files by their file(1) magic. π
literally, the magic bytes decide the folder, and the file gets sorted into its little home. no cap, it's giving main character energy.
π SYNOPSIS π
magicsort directory
πͺ DESCRIPTION πͺ
so here's the whole vibe: magicsort invokes the system's file utility on all files in directory non-recursively. π«Ά
For each different string that file outputs, it will create a sub-directory of that name and move the file in there. β¨ one string, one folder, file goes in. periodt.
btw non-recursively means it's only peeking at the files directly inside directory β not going down into subdirectories. π΅οΈββοΈ
π SEE ALSO π
π AUTHOR π
Jonas Jensen <jbj@knef.dk> π
π LATEST VERSION π
This tool is part of Magic Rescue. You can find the latest version at <https://github.com/jbj/magicrescue> π₯ iykyk.
That's the whole page, bestie β Magic Rescue 1.1.10, dated 2018-10-16. Stay magic β¨
π¦ where this page comes from
- debian bookworm: magicrescue 1.1.10+dfsg-2 Β· GPL-2.0-or-later
- debian trixie: magicrescue 1.1.10+dfsg-2+b1 Β· GPL-2.0-or-later
- nixos 26.05: magicrescue 1.1.10-unstable-2021-09-12
- nixpkgs unstable: magicrescue 1.1.10-unstable-2021-09-12
- ubuntu jammy: magicrescue 1.1.10+dfsg-1 Β· GPL-2.0-or-later
- ubuntu noble: magicrescue 1.1.10+dfsg-2build2 Β· GPL-2.0-or-later
- ubuntu questing: magicrescue 1.1.10+dfsg-2build2
- ubuntu resolute: magicrescue 1.1.10+dfsg-3 Β· GPL-2.0-or-later
- ubuntu stonking: magicrescue 1.1.10+dfsg-3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms