recently someone added lots and lots of files the sbctl database where the path changed or that were deleted and so they throw a 'does not exist' warning. A
sbctl verify --quiet
shows all of them. So I wanted to catch the paths and put them further down into a script to remove them/correct the paths. But I was unable to.
Lets say sbctl verify --quiet outputs a line
‼ /efi/EFI/Linux/archlinux-linux-lts-fallback.efi does not exist
This line is not easy to deal with as you can see here:
# sbctl verify --quiet | awk '{ print $2 }'
‼ /efi/EFI/Linux/archlinux-linux-lts-fallback.efi does not exist
# sbctl verify --quiet | cut -d' ' -f2
‼ /efi/EFI/Linux/archlinux-linux-lts-fallback.efi does not exist
# sbctl verify --quiet | sed 's/‼//'
‼ /efi/EFI/Linux/archlinux-linux-lts-fallback.efi does not exist
It might be on my that I miss a very obvious thing here but I have no idea how to deal with this.
recently someone added lots and lots of files the sbctl database where the path changed or that were deleted and so they throw a 'does not exist' warning. A
shows all of them. So I wanted to catch the paths and put them further down into a script to remove them/correct the paths. But I was unable to.
Lets say
sbctl verify --quiet
outputs a lineThis line is not easy to deal with as you can see here:![grafik](https://github.com/Foxboron/sbctl/assets/18744080/c280be75-c197-40c6-bd2f-6b338e18dc97)
It might be on my that I miss a very obvious thing here but I have no idea how to deal with this.