How to restore a deleted Jupyter notebook file

亡梦爱人 提交于 2019-12-11 14:41:07

问题


I accidentally deleted a jupyter notebook file on my Google Cloud instance. I wonder if there's anyway to restore/recover the file?


回答1:


Thanks to this link, I found the solution. Files deleted in the browser should probably be in a Trash folder. In my case and on my Google Cloud instance, the deleted files were in the following path.

cd ~/.local/share/Trash/files/

By using ls, list the files and see if your file is in this folder. If yes, then simply using the mv command you can move your deleted file to the path you want.



来源:https://stackoverflow.com/questions/58908854/how-to-restore-a-deleted-jupyter-notebook-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!