问题标签 [file-recovery]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
36 浏览

image - 将那部分内存分配给另一个文件后,我们可以恢复文件吗?

我已经从我的 SD 卡中删除了一些照片,并拍摄了更多照片,现在几乎已满。我想知道如果我仍然可以从过去恢复一些东西,是否有可能?

0 投票
1 回答
4391 浏览

android - CYGWIN 上的 ADB(路径可能?)

取自这里: http ://www.asoftech.com/articles/android-enable-mass-storage.html

当我尝试这个命令时:

它说

我已经输入了 PATH 值。

我究竟做错了什么?

0 投票
1 回答
72 浏览

sublimetext2 - 严重错误:当剩余硬盘空间不足时,Sublime Text 中断文件!!!我怎样才能恢复它?

剩余硬盘空间不够的时候,我尝试关闭一个txt,sublime text告诉我无法保存。没问题,我只更新了一小句,所以不管它是否保存。然后我关闭了。但是下次打开txt,它是空的。我丢失了所有数据。(╯‵□′)╯︵┻━┻<br />我用这个文件记录了几个月的各种事情.它现在坏了!怎么恢复?(昨天有200多行文字T~T...)
操作系统:MacOS Sierra
SublimeText:Build 3126

左边是损坏的文件,右边是另一个文件(未损坏)

0 投票
1 回答
799 浏览

wordpress - 从服务器意外删除的图像

我不小心从服务器上删除了图像并且没有副本,但是当我尝试用谷歌搜索它时,它出现在我网站上的谷歌图像中,我可以取回图像吗?或者有谁知道我怎样才能找回旧图像?我和godaddy一起进行了恢复,但唯一的保留恢复时间长达4天,在我恢复期间它恢复了已删除的站点,现在我正在尝试从strate构建站点,现在只需要恢复图像即可。

0 投票
1 回答
852 浏览

libjpeg - Photorec 缺少库 libjpeg.so.62

我正在尝试使用USB 上的PhotoRec工具从我的 NAS 中取消删除文件。但是,当我尝试运行它时,出现以下错误:

我知道它说我必须安装 libjpeg 包,但是我不能这样做,因为它是运行他们专有操作系统的 WD 机器。

是否有另一种运行 Photorec 并绕过此错误的方法?从我在它的官方页面上可以看到,指定的库是可选的,如此所述。

Jpeg 库 - 可选,PhotoRec 使用它来提高 JPEG 恢复率

由于该文件不是 JPEG 图像,因此我不需要此改进。

我也可以很好地运行TestDisk,但是它找不到已删除的文件,而且从我读过的内容来看,PhotoRec 在执行此类任务方面做得更好。

任何帮助表示赞赏(也建议使用其他工具)。

0 投票
1 回答
938 浏览

delphi - Course of action when Delphi detects recoverable files?

My Delphi Tokyo 10.2.1 IDE just crashed. On restart I get the prompt:

enter image description here

RAD Studio has recovered the following files. Save the ones you wish to keep.

A file compare shows that at that moment the file in __recovery is indeed the latest version, but nothing has been recovered yet
(Note: The specific file was not re-opened in the IDE, because the crash prevented the IDE from registering that as an open file. The project that this file is part of was not even the current one in the project group, for that same reason).

The dialog only has a Close button. I can select that file or not. I started testing several variations.

Regardless of whether I select it, after clicking Close, Delphi asks Discard remaining recovered files?.

  • If I then choose No, nothing changes. The file is not recovered, the contents of __recovery remain unchanged
  • I wanted to test this also when I choose Yes, but no amount of copying the old source file plus __recovery folder now triggers the IDE warning again. I can not test further variations. The IDE now keeps clearing out the __recovery folder.

This is a bit of a mess. Does recovery not work? Are the dialog texts so unclear?

I would expect the following behavior from such a dialog:

  • It presents me with the detected files. The text says: RAD Studio has discovered the following files. Select the ones you wish to keep.
  • The user must select the files he wants recovered.
  • If any unrecovered files remain the Discard remaining recovered files message comes up.

Does anyone know what (f)actually happens? What am I supposed to do (select/answer) here?
I could not find the answer online.

Because right now I am left with a not recovered file and an empty __recovery folder. Luckily I made backups.

0 投票
0 回答
93 浏览

node.js - Node.js - 有什么方法可以恢复当前正在运行的已保存脚本?

我不小心保存了现有的 node.js 脚本文件,使其在文件系统上完全空白。我没有使用任何类型的版本控制,所以这个长脚本文件似乎无法恢复。

但是,该应用程序当前正在通过pm2运行(因为它是在我犯此错误之前启动的)。

有没有办法通过 node.js 命令提示符从正在运行的应用程序中恢复这个文件?

0 投票
1 回答
116 浏览

matlab - 如何恢复移动到单个文件的文件?

我试图将多个文件移动到一个文件夹中,但是我的 matlab 代码中有一个错误,即我没有创建该文件夹。现在所有文件都被移动到一个无法打开或编辑的文件中。如何恢复这些文件?

错误示例:

所以现在 file1 和 file2 合并到文件“fname”中,而不是在名为“fname”的文件夹中。如何取回file1和file2?

提前致谢!

0 投票
2 回答
874 浏览

android - android项目的所有文件都损坏了

当我在 15 天后在 android studio 上打开我之前的 android 项目时。我发现文件已损坏。只有一条消息“文件以错误的编码加载 - 'UTF-8'”。是否可以恢复项目文件?

这是一个屏幕截图:

在此处输入图像描述

0 投票
0 回答
49 浏览

hadoop - Hadoop HDFS 文件恢复经过时间(开始时间和结束时间)

我需要测量在 HDFS 中使用不同存储策略(复制和纠删码)存储的文件大小不同的文件的恢复速度。

我的问题是:有没有办法查看 HDFS 中文件恢复过程的开始时间和结束时间(或仅以秒为单位的经过时间)?对于特定文件?

我的意思是从系统检测到节点故障(并开始恢复过程)的开始时间,直到 HDFS 恢复数据(并可能重新分配节点)并使文件再次“稳定”?

也许我可以查看特定文件的一些元数据文件或日志文件以查看一些时间戳等?或者是否有一个文件可以让我看到 HDFS 文件的所有活动?

我真的很感激一些终端命令来获取这些信息。

非常感谢您!