11
submitted 3 days ago* (last edited 3 days ago) by MindfulMaverick@piefed.zip to c/linux@lemmy.ml

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.

you are viewing a single comment's thread
view the rest of the comments
[-] mlfh@lm.mlfh.org 9 points 3 days 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 2 points 3 days ago* (last edited 3 days 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.

this post was submitted on 20 May 2026
11 points (86.7% liked)

Linux

65400 readers
428 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS