我进入了错误的文件夹并删除了一系列非常重要的 python 文件!我该如何在 foremost 中配置规则来恢复它们?并使用 Debian OS
/etc/foremost.conf
CONFIGURATION FILE
The configuration file is used to control what types of
files foremost searches for. A sample configuration
file, foremost.conf, is included with this distribution.
For each file type, the configuration file describes the
file’s extension, whether the header and footer are case
sensitive, the maximum file size, and the header and
footer for the file. The footer field is optional, but
header, size, case sensitivity, and extension are not!
Any line that begins with a pound sign is considered a
comment and ignored. Thus, to skip a file type just put
a pound sign at the beginning of that line
Headers and footers are decoded before use. To specify a
value in hexadecimal use \x[0-f][0-f], and for octal use
\[1-9][1-9][1-9]. Spaces can be represented by \s.
Example: "\x4F\123\I\sCCI" decodes to "OSI CCI".
To match any single character (aka a wildcard) use a ?.
If you need to search for the ? character, you will need
to change the wildcard line *and* every occurrence of
the old wildcard character in the configuration file. Do
not forget those h
但文件.py
python 和.js
javascript