I have a folder full of unsorted files and a detailed INDEX.md that defines the exact target directory structure (think nested categories, file placements, etc.). I’m looking for a tool that can read the markdown and automatically move/copy each file into the right subfolder with high accuracy.

I feel like an AI agent with a free model like OpenRouter’s deepseek/deepseek-v4-flash:free is already capable of doing it but it may as well delete all files. Would you trust it to do it or is there any other tool for the task?

Edit: I just asked it to do it but letting me see the destinations and confirming before moving the files and it worked fine.

  • mlfhA
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 hours ago

    Unless there’s more information on what kind of files and what kind or sorting needs to be done, this sounds like something that could be done with a simple shell script.

    (I wouldn’t trust an ai agent to do it with accuracy, but I’m the kind of luddite that doesn’t trust an ai agent at all.)

    • nymnympseudonym@piefed.social
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      3 hours ago

      Even ‘ls’ has an assload of sorting options - by last accessed time, last modified time, yadda

      A simple shell or Perl script will do if you want to sort media files by metadata, an AI can easily code one up for you.

      But you sure don’t need to do a few billion matrix multiplications every time you do this sort routine.