[okular] [Bug 402017] Cannot save PDF when loaded file has been deleted
Karl
bugzilla_noreply at kde.org
Fri Jan 8 05:19:15 GMT 2021
https://bugs.kde.org/show_bug.cgi?id=402017
Karl <karl at lrak.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |karl at lrak.net
--- Comment #59 from Karl <karl at lrak.net> ---
This bug is a pain..
I found a way to recover using PV .. a work-around
1) find the process+fd by looking directly in /proc:
ls -al /proc/*/fd/* 2>/dev/null | grep {filename}
2) Then with pv thrown in:
tail -c +0 -f /proc/{procnum}/fd/{fdnum} | pv -s {expectedsize} >
{recovery_filename}
You may need to Ctrl-C when done (ls /proc/{procnum}/fd/{fdnum} will tell you
that the file no longer exists)), but if you know the exact size in bytes, you
can use pv -S to make it exit when the count is reached.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list