There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

z00s , (edited ) in is there a foss project to automatically sort files

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:


<span style="color:#323232;">Create a python program that does the following:
</span><span style="color:#323232;">
</span><span style="color:#323232;">-asks the user for a directory to process
</span><span style="color:#323232;">
</span><span style="color:#323232;">-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.
</span><span style="color:#323232;">
</span><span style="color:#323232;">-creates any new sub folders before moving the files
</span><span style="color:#323232;">
</span><span style="color:#323232;">-moves the files verbosely
</span><span style="color:#323232;">
</span><span style="color:#323232;">-gives the user a notification upon finishing
</span>

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 , (edited )

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 ,

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

rufus ,

Thx!

z00s ,

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.

www.rabbit.tech

Pantherina , in AMD Publishes XDNA Linux Driver: Support For Ryzen AI On Linux

Is that the stuff used on servers? Or just small tasks on Laptops? Because if on servers anything else would be stupid

Diabolo96 , (edited ) in is there a foss project to automatically sort files

Maybe you’re looking for Multimodal RAG ?

possiblylinux127 , in Help with external 4TB drive

Why were you using Windows XP? I don’t think it was even optimized for such large drives

i_am_hiding OP ,

I’m not using Windows. I run Debian on this server.

The bulk of external enclosures that money can buy tell the computer they’re plugged into that the disks have logical sector sizes of 4096 bytes, apparently for compatibility with >2TB drives on Windows XP.

I do not need compatibility with Windows XP as the current year is 2024. My disk has logical sectors 512 bytes in size, but the external enclosures don’t report that. I want to know how I can mount the disk anyway, despite the enclosure’s attempts to thwart me. I know the disk is fine, as it is detected with 512 byte sectors and mounts happily via SATA.

z00s ,

Do you really need 512 byte sectors for any specific reason? If not, just drop it back into the PC, backup contents, reformat, copy data back then put it back in the enclosure. Job done.

i_am_hiding OP ,

I suspect this is what I’ll have to do. I was hoping to avoid it as that’ll take a weekend of copying, but I might just have to bite the bullet.

z00s ,

An entire weekend just to copy 4 TB?

BCsven , (edited ) in Help with external 4TB drive

Looks like ee is legacy mbr type with an EFI entry right after it, it could be that somebody has solved mounting this if you deep dive. And maybe an additional package is needed. Buy are you able to remount to sata and just transfer data? becuase you would want to reformat this to a modern GPT and filesystem at some point. Or see if you can pass it through to an XP VM for data transfer.

52fighters , in Immutable Distros: What you should know - An introduction into image based systems (Part 1)

Is Solus an image based distro?

Guenther_Amanita OP ,

No

lemmyreader , in Help with external 4TB drive

Few years ago I had a collection of maybe fifteen old disks, which I wanted to get rid of, by means of recycling. First I wanted to check the content and then format all so I put them in an external enclosure. It turned out that some disks were unusable. A closer inspection showed that these were all a certain brand and type (Forgot whether it was Seagate or Maxtor or WD). These disks would probably still do fine in a desktop or server computer (Which I no longer had at home) but not with the external enclosure. Perhaps your enclosure is the bottleneck here as well.

Valmond , in Where can I ask questions about iproute2 tools?

IProut 2

The french version of fart.

RedWizard , in A fully open source stack for MIPI cameras - Hans' hacking log — LiveJournal
@RedWizard@lemmygrad.ml avatar

Damn live journal is still a thing?

aniki , in Linux file transfer speed bottlenecks?

What is controlling the SATA drivers? A lot of times the stuff that comes on motherboards isn’t the greatest and getting a dedicated storage controller allows you to saturate the drive much more thoroughly. Specially if they have big caches.

RiderExMachina , in [Solved] Had a power outage while updating my fedora system, and now dnf has file conflicts. Is it recoverable?

Are you sure its removing those packages and not updating them?

nossaquesapao OP ,

yes, the last 2 mentioned commands throw the error below and won’t continue the operation:


<span style="color:#323232;">Error: 
</span><span style="color:#323232;"> Problem: The operation would result in removing the following protected packages: systemd, systemd-udev
</span><span style="color:#323232;">
</span>
cmlael67 , in I feel like I'm missing out by not distro-hopping
@cmlael67@lemmy.world avatar

I try different distros just out of curiosity. I’ve used several that look promising, but there always seems to be some little thing I end up not liking. I usually end up going back to Zorin, which to me feels a lot like Mint. If Mint works well for you, use it. While many Linux users tend to distro-hop quite a bit, if you just want a computer that works for what you need it to do, stick with what does that for you.

mryessir , in I feel like I'm missing out by not distro-hopping

Distro hoppers - most likely - try different desktops (wm, compositor, tools). You may already know that you can easily switch you desktop within a few seconds. One tipp though: Don’t use your main user logging in on a new desktop (to keep your /home clean)!

SheeEttin , in How do I create a docker container with custom programs inside?

What are you running your containers on? I just put my VPN on the docker host so I could be sure I could use the firewall to block traffic from going out except over the VPN.

Octopus1348 , in Possible to have different desktop folders for different workspaces?
@Octopus1348@lemy.lol avatar

deleted_by_author

  • Loading...
  • Corgana OP ,
    @Corgana@startrek.website avatar

    I guess maybe I don’t understand what workspaces are? Because I’ve been operating under the assumption that I’ve been using multiple workspaces with GNOME for a* long* time now.

    Are you saying the GNOME update in April will each workspace to have it’s own unique desktop folder?

    Octopus1348 ,
    @Octopus1348@lemy.lol avatar

    Oh, I just misunderstood your post.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines