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.
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.
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.
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.
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.
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.
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.
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.
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>
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.
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)!
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.
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?
linux
Top
This magazine is from a federated server and may be incomplete. Browse more on the original instance.