yes a | btrfs restore -i -m -S -x -o /dev/mapper/backup--vg-backup /mnt; echo $?
find /mnt/backuppc/ -type f -exec sh -c 'for x; do cat "$x" > /dev/null || echo "$x"; done' -- {} + | tee broken_files.txt
#!/bin/bash | |
# Unzip /var/vmail | |
find /var/vmail/ -type f -regextype egrep -regex '.*S=.*W=.*' | while read -r file; do | |
if [[ $(head -c11 "$file") == "Dovecot-LZ4" ]]; then | |
doveadm fs get compress lz4:0:posix:prefix=/ \ | |
"$file" > "/tmp/$(basename "$file")" | |
if [[ -s "/tmp/$(basename "$file")" ]]; then | |
chmod 600 "/tmp/$(basename "$file")" | |
chown 5000:5000 "/tmp/$(basename "$file")" | |
mv "/tmp/$(basename "$file")" "$file" |
# getmail configuration to be placed in $HOME/.getmail/myemail@gmx.at | |
# Launch the getmail4 in a "daemon" mode via: | |
# $ while :; do getmail -v -r myemail@gmx.at -iINBOX; sleep 5; done | |
[retriever] | |
type = SimpleIMAPSSLRetriever | |
server = imap.gmx.net | |
port = 993 | |
username = myemail@gmx.at | |
password = mypassword |
FROM debian:buster | |
LABEL maintainer="raoul@bhatia.at" | |
####################################### | |
RUN apt -y update && apt -y install \ | |
sudo \ | |
wget \ | |
git \ |
$ grep-status -n -sPackage -FStatus config-files | |
[...] | |
$ dpkg-query -f ' \n' -W | grep config-files$ | cut -d" " -f1 | |
[...] | |
aptitude purge ~c |
I hereby claim:
To claim this, I am signing this object: