File moved while being written to, write continues, how is that possible?
Colin Law
clanlaw at gmail.com
Wed Mar 24 09:18:35 UTC 2021
On Wed, 24 Mar 2021 at 09:09, Bo Berglund <bo.berglund at gmail.com> wrote:
>
> Today I accidentally deleted a file which was being downloaded by an at job...
> With the above in mind, and since the at job still runs even though the result
> file is now gone from the output folder, is there a way to resurrect it and give
> it a name so it can be viewed?
>
> The way I deleted the file was by issuing
> rm inputvideo_0*
> rather than
> rm inputvideo_0*.mp4
>
> Since the file being downloaded is named inputvideo_0xx.mp4.part while it is
> being downloaded by youtube-dl such a command would have saved the file I
> removed...
It won't have been saved anywhere on the original machine, it is just
that it hasn't yet been removed from the disc so the download can
continue. Can you not wait till it has completed and then upload it
again?
Colin
>
> So how can I find this file and give it a name?
>
>
> --
> Bo Berglund
> Developer in Sweden
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users
mailing list