如何还原已删除的Jupyter Notebook文件 [英] How to restore a deleted Jupyter notebook file

查看:3107
本文介绍了如何还原已删除的Jupyter Notebook文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不小心删除了Google Cloud实例上的jupyter笔记本文件.我想知道是否还可以还原/恢复文件?

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

推荐答案

感谢此链接,我找到了解决方案.在浏览器中删除的文件可能应该位于废纸folder"文件夹中.就我而言,在我的Google Cloud实例上,删除的文件位于以下路径中.

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/

使用ls列出文件,然后查看文件是否在此文件夹中.如果是,那么只需使用mv命令,就可以将已删除的文件移动到所需的路径.

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.

这篇关于如何还原已删除的Jupyter Notebook文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆