26
submitted 7 months ago* (last edited 7 months ago) by jackpot@lemmy.ml to c/linux@lemmy.ml

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

you are viewing a single comment's thread
view the rest of the comments
[-] z00s@lemmy.world 1 points 7 months ago* (last edited 7 months ago)

Lately I've been using chatGPT to create a bunch of small custom python programs to do stuff like this (if I can't easily find an existing program to do what I want).

For example I would tell it something like:

Create a python program that does the following:

-asks the user for a directory to process

-sorts the files in that folder according to file type, placing them into appropriately named sub-folders, eg all image files into a folder named "images", all music files into "music" and so on.

-creates any new sub folders before moving the files

-moves the files verbosely

-gives the user a notification upon finishing

You can customize it to do exactly what you want, and it takes only seconds for it to give you the code.

I can't even begin to tell you how much time it's saved me over the last few weeks, automating simple stuff that would normally take ages.

[-] rufus@discuss.tchncs.de 1 points 7 months ago* (last edited 7 months ago)

I think that's a good start, but the baseline of what AI can do. These scripts are around since filesystems have been invented. And you can do this with one (lengthy) shell command. Or one of the already existing file sorting utils. (something like ~~this~~ [Edit: see next comment] or Hazel or DropIt) With those you can even configure if it should recusively visit subdirectories and do individual subdirectories for the filetypes or mangle everything together for example in one big unsorted mp3 directory.

What I'm waiting for (I'm not OP) is something that looks at the content of the files. Do a directory for all the manuals I downloaded for the household appliances, find out on which event I took a photo and make a correctly named album for that, find the project files for my diverse electronics projects and file them into seperate directories together with related info. And find the mp3 files and TV recordings with a mismatch of metadata and folder structure.

[-] hedgehog@ttrpg.network 2 points 7 months ago

Someone in another comment shared a link to this - is this what you’re looking for? https://github.com/tfeldmann/organize/

[-] z00s@lemmy.world 2 points 7 months ago

I think what you're describing is definitely the way things are heading. I would love a teachable, automated AI personal assistant. But I think I'll wait for an open source, hardware agnostic version that I can self-host.

https://www.rabbit.tech

this post was submitted on 27 Jan 2024
26 points (71.7% liked)

Linux

47210 readers
753 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 5 years ago
MODERATORS