/2
When using #ext4magic its a bit disappointing how important the '-f' flag is. the flag is for identifying the folder to recover files from, if you don't use it and there is an error elsewhere, then the only output you might get is "Segmentation fault" and there is surprisingly little in docs or on the web to indicate how to get around that.
A typical way to use the -f flag is:
(...) -f 'folder/where/deleted/file/was/' (...)
There are a number of errors that get thrown up when trying to use ext4magic, sadly they are not well documented in man pages, nor even online! the cloudflare hosted repository seemed lacking in up to date information. the archlinux wiki is probably the best resource (EDIT but not even that explained what the error codes meant).
i hope this helps someone in the vast, magical
fediverse #filerecovery #gnulinux #linuxtips