do you know that minecraft mod that autosorts your inventory? is there are project that can autosort a messy file system and put all of your files of a similar nature into a well organised, well named order. obviously this would require ai that could do image, language, and audio recognition but is there anything in the works? i can imagine this would speed up distrohopping by 10x. ai powered file management

  • bizdelnick@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    9 months ago

    Such AI can be coded in <100 lines shell script. One of simplest implementations:

    #!/bin/bash
    
    find . -type f -print0 | while IFS= read -d $'\0' f; do 
      type=$(file --mime-type --brief "$f")
      mkdir -p "$type"
      mv "$f" "${type}/"
    done