bizdelnick

@bizdelnick@lemmy.ml

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

is there a foss project to automatically sort files

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...

bizdelnick, (edited )

Such AI can be coded in <100 lines shell script. One of simplest implementations:


<span style="color:#323232;">#!/bin/bash
</span><span style="color:#323232;">
</span><span style="color:#323232;">find . -type f -print0 | while IFS= read -d $'
bizdelnick, (edited )
  1. It is FOSS while GitLab EE is not.
  2. It supports a lot of atifact repository formats while GitLab only docker registry.
  3. It is a non-commercial project.
bizdelnick,

Autocrap is a bloated obsolete stuff that is mostly replaced with other tools like cmake or meson. There’s no need to learn it today.

bizdelnick,

the .deb file would be the equivalent of an .exe file on Windows

Not .exe. If you want to find an equivalent, .msi is the closest.

bizdelnick, (edited )

Lolwhat? It is the same in any distro: adding the repo and installing the app.

bizdelnick,

You don’t have to do everything through terminal. You can use synaptic for example. What you have to do is to learn new concepts. If you want to do everything like in windows, use windows.

bizdelnick,

Yes, it is. You can achieve the same usung GUI of course, but this would be more difficult to describe because there are multiple GUIs and they change with new distro versions.

This is more convenient than “downloading and intalling” a file because you don’t have to track updates manually, the package manager will do this for you. You have to read something about what package manager is and how does it work. It is the main concept of all linux distros except LFS.

bizdelnick,

I don’t recommend using anything new to you unless you are ready to learn it. If you are, welcome aboard!

bizdelnick,

TLDR: Companies should be required to pay developers for any open source software they use

You need to read the article yourself before writing TLDR. Spoiler: it is not about payments, it is about source code availability.

What would be the best way for me to recover data from my old laptop's hard drive, which seems to have a bad superblock?

I got an external hard drive enclosure for the purpose of recovering some of the files from my old laptops hard drive. The hard drive and all of it’s partitions show up in both disks and gparted but it wont mount. When I tried to mount it manually, it gave the error message stating that it can’t read the superblock. I’ve...

bizdelnick,

Try testdisk. It can copy files from damaged filesystem without touching it. But only if you are lucky enough and the filesystem is not so heavily damaged that testdisk will be unable to find it.

bizdelnick, (edited )

It is a great book, although a bit outdated. In particular, nowadays egrep is not recommended to use. grep -E is a more portable synonim.

Some notes on you script:

  1. You don’t need to escape slashes in grep regex. In the sed s/// command better use another character like s### so you also can leave slashes unescaped.
  2. You usually don’t need to pipe grep and sed, sed -n with regex address and explicit printing command gives the same result as grep.
  3. You could omit leading slash in your egrep regex, so you won’t need to remove it later.

So I would do the same with


<span style="color:#323232;">tar -tzvf file.tar.gz | sed -En '/.(mp4|mkv)$/{s#^.*/##; s#.[.*##; s#[^a-zA-Z0-9()&-]# #g; s/ +/ /g; p}'
</span>
bizdelnick,

The main thing you are doing wrong is reading howto articles in the web. Most of them are written by newbies who did the thing they describe for the first time, got something likely working and want to describe this for themselwes an for the other world. This does not mean they did everything right, and howtos usually contain numerous mistakes. Better read official documentation. This will take longer time but you will understand what you do. I don’t know if Mint has GUI tools to configure samba server. I would better edit config file manually, it is more or less simple.

bizdelnick, (edited )

You don’t have to clean your ~/.cache every now and then. You have to figure out which program eats so much space there, ensure that it is not misconfigured and file a bugreport.

bizdelnick,

There can be a package with corresponding selinux policy in the repo. It is highly likely as Fedora use selinux by default and your case seems typical.

Broke a partition. Is there any way of saving it?

While I was switching distros, I accidentally broke a partition. I’m almost certain that all the data is there, but it doesn’t have a filesystem (I used ext4). Is there anything I can do to fix it, similar to changing the file extension without changing the contents. PS: It’s a data partition. I was trying to resize it,...

bizdelnick, (edited )

Try testdisk. It can find a filesystem, copy files from it or restore the partition that contained it.

bizdelnick,

Why do you ask? Install it as a second DE and give it a try. You can alvays switch back if you don’t like it.

bizdelnick,

Reinstall? Why?

Create a separate partition for /home and don’t format it when reinstalling, so you will keep all your stuff.

bizdelnick, (edited )

First of all, check that hardware virtualization is enabled in your UEFI setup.

You need to have packages virtualbox-dkms and linux-headers installed (together with all their dependencies, but you don’t have to check them manually). linux-headers must be of the same version as linux-image. That’s all that you need to get driver properly built. Don’t listen those users who recommend you to remove and reinstall these packages or install additional packages manually, this kind of magic doesn’t work.

Also note that you cannot use kvm and virtualbox simultaneously. If you are using some kvm-based virtualization system, it causes a conflict.

bizdelnick,

Both are useless toys for newbie sysadmins who think their job is sitting and looking at list of processes.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #