Prepare Yourself like there is No Tomorrow
I just hope that my computer never dies, but no one can guarantee that.
Homemade Benchmark (Compression)
I did a benchmark for different compression algorithms implementations such as pixz, xz, gzip, brotli, bzip2.
Just in case!
No one is perfect! And so am I, sometimes I still accidentally deleted some files. Here are some file recovery tips:
If file still opened in an application
I will demonstrate this by deleting the pdf file while I am still viewing it in zathura pdf viewer.
- Check the PID of the application with
ps aux | grep zathura), output:
- Lists the opened files
ls -l) and find the pdf file labeled
- Copy that by
cat /proc/10678/fd/13 > lv.pdfand you should be able to view your file now.
If file/directory not overwritten yet on ext3/ext4 file system
If possible, unmount the partition or else get a live rescue disk with
extundelete. After the partition is unmounted, use
Warning: Make sure that the file really isn't overwritten (no mkdir dir/no touch file)