博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
失物招领php_我的Mac上“失物招领”文件夹中的大型iNode文件是什么?
阅读量:2508 次
发布时间:2019-05-11

本文共 4315 字,大约阅读时间需要 14 分钟。

失物招领php

失物招领php

If you’re , you might stumble upon some large files inside —particularly, a large one with “iNode” in the name. Is there any way to find out what those files are, and whether they’re safe to delete?

如果您 ,则可能会偶然一些大文件,它们 found-特别是名称为“ iNode”的大文件。 有没有办法找出这些文件是什么,以及它们是否可以安全删除?

We’ve already explained , but there are a few specific things you might want to look out for if you’re on a Mac. For those who don’t know, the lost+found folder is where orphaned files end up. Sometimes files end up outside your directory structure without actually being deleted. If you run First Aid in Disk Utility, your Mac may find such files and put them in the lost+found folder. For whatever reason, macOS installers are often ophaned in this way, and found by Disk Utility later, leaving users with a 5GB file in lost+found that’s uselessly taking up space. Though sometimes they can be other important files too.

我们已经解释 ,但是如果您使用Mac,则可能需要注意一些特定事项。 对于那些不知道的人来说,lost + found文件夹是孤立文件所在的位置。 有时,文件最终位于目录结构之外,而实际上并未被删除。 如果在“磁盘工具”中运行“急救”,则Mac可能会找到此类文件并将其放在lost + found文件夹中。 不管出于何种原因,macOS安装程序通常都会受到这种方式的困扰,后来被磁盘实用程序发现,从而使用户在lost + found中留下了5GB的文件,这无用地占用了空间。 尽管有时它们也可以是其他重要文件。

Sadly, these files aren’t labeled: they have a name that starts with “iNode” and ends with a series of numbers, and there’s no way to work out what they are from the Finder. If you’re wondering whether your large iNode file is an installer or something else, here’s how to find out.

可悲的是,这些文件没有标签:它们的名称以“ iNode”开头,并以一系列数字结尾,并且无法从Finder找出它们的含义。 如果您想知道大型iNode文件是安装程序还是其他工具,请按以下步骤查找。

识别iNode文件中的内容 (Identifying What’s Inside an iNode File)

First, open the Terminal, which you can find in Applications > Utilities or by using Spotlight. Then, head to the lost+found folder by running this command:

首先,打开终端,您可以在“应用程序”>“实用程序”中找到该终端,也可以使用Spotlight找到该终端。 然后,通过运行以下命令转到lost + found文件夹:

cd lost+found

Next, you can use the ls command to see a list of the files in the folder, then run the file command to identify what’s in these orphaned files. Thankfully, you don’t have to type out the entire file name: just type file iNode, then hit the Tab key on your keyboard. the filename will complete itself automatically if there’s only one file, or give you options if there’s more than one.

接下来,可以使用ls命令查看文件夹中文件的列表,然后运行file命令以标识这些孤立文件中的内容。 值得庆幸的是,您不必键入整个文件名:只需键入file iNode ,然后按键盘上的Tab键即可。 如果只有一个文件名,文件名将自动完成;如果有多个文件名,文件名将为您提供选择。

When you’ve got a complete command, as shown below, hit “Enter” and you’ll see what kind of file you’re dealing with.

收到完整的命令后,如下所示,单击“ Enter”,您将看到要处理的文件类型。

Frequently, on Macs, the file in question is going to be a XAR archive, as the file in my example is. If you’d like to confirm that this file is, in face, a macOS installer, the command xar -t -f followed by the filename will show you what’s inside.

通常,在Mac上,所讨论的文件将是XAR存档,就像我的示例中的文件一样。 表面上,如果您想确认此文件是macOS安装程序,则命令xar -t -f和文件名将显示其中的内容。

As you can see, the XAR archive in my example contains all of the things a macOS installer contains. This means we can delete it without worrying.

如您所见,我的示例中的XAR存档包含macOS安装程序包含的所有内容。 这意味着我们可以删除它而不必担心。

You likely don’t need to worry about files in lost+found in any case. If your system needed them to operate, it’s likely something would already be broken. If your Mac is running fine, and you don’t have any important files missing, deleting the file is probably okay. Still, it’s nice to identify the file before doing so.

在任何情况下,您都可能不必担心丢失+找到的文件。 如果您的系统需要它们进行操作,则很可能已经损坏了某些东西。 如果您的Mac运行正常,并且没有丢失任何重要文件,则可以删除该文件。 尽管如此,在这样做之前先确定文件还是很不错的。

If you’re really cautious, consider doing the following three things before deleting any iNode files:

如果您真的很谨慎,请在删除任何iNode文件之前考虑做以下三件事:

  1. Ensure that your computer is  (or any other backup system) just in case.

    确保 (或任何其他备份系统)备份计算机,以防万一。

  2. Move the iNode file to your Trash folder, so you can recover it if necessary.

    将iNode文件移动到“废纸folder”文件夹中,以便在必要时可以将其恢复。
  3. Restart your Mac. If it boots, and everything seems to be in working order, it’s probably fine to empty the Trash.

    重新启动Mac。 如果它启动了,并且一切似乎都正常运行,则清空垃圾箱可能没问题。

If even this makes you nervous, and you don’t have a desperate need for storage capacity, there’s no harm in leaving iNode files exactly where they are. They’re not hurting anything: they’re just taking up space.

即使这使您感到紧张,并且您对存储容量的需求也没有迫切,将iNode文件准确放置在原处也没有任何危害。 他们没有伤害任何东西:他们只是在占用空间。

翻译自:

失物招领php

转载地址:http://swuwd.baihongyu.com/

你可能感兴趣的文章
【Android开发】交互界面布局详解
查看>>
状态机编程思想(1):括号内外字符串统计
查看>>
K-Means聚类和EM算法复习总结
查看>>
彻底卸载MySql
查看>>
[转]Bat脚本处理ftp超强案例解说
查看>>
P3901 数列找不同
查看>>
利用无线网络数据包分析无线网络安全
查看>>
MEMBER REPORT
查看>>
[HAOI2006]受欢迎的牛
查看>>
使用jquery去掉时光轴头尾部的线条
查看>>
算法(转)
查看>>
Animate CSS
查看>>
centos6 x64安装elasticsearch5.5.2启动报错
查看>>
公司拷贝回家的工程用sts导入clean package报错java.lang.NoClassDefFoundError
查看>>
Aborting a running program
查看>>
手机验证码测试点
查看>>
网络字节顺序
查看>>
复制mueclipse项目到eclipse
查看>>
飞扬的小鸟
查看>>
玩转TypeScript(2) --简单TypeScript类型
查看>>