如何在不压缩文件和文件夹的情况下将文件和文件夹捆绑到一个单元中? [英] How can I bundle files and folders into a single unit without zipping them?

查看:105
本文介绍了如何在不压缩文件和文件夹的情况下将文件和文件夹捆绑到一个单元中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须将数据移动到没有大量存储空间的设备。



数据是不同大小和格式的多个文件。 />


当我拉链它们时,将它们转移到设备并解压缩它们,需要两倍的存储空间。



有什么替代方案吗?



我尝试过的方法:



目前使用的是zip文件,但我需要的东西不会占用两倍的空间

I have to move data to a device that does not have a lot of storage space.

The data is multiple files of different sizes and formats.

When I zip them, transfer them to the device and unzip them, twice the storage space is required.

Is there any alternative to this?

What I have tried:

Currently using a zip file, but I need something that wont take up twice the space

推荐答案

你不能,不是真的。您可以使用不同的压缩格式(例如RAR),但您将获得完全相同的结果。

当您从存档中删除文件时 - 无论是Zip还是其他 - 它们将占用原始空间,可能更多,具体取决于两种系统文件存储方法 - 一般来说,小文件占用的存储空间比您可能会想到,每个文件通常都存储在一个单元中,该单元的大小取决于系统,但通常是4K的倍数。因此,单个字符文件在大多数系统上至少需要4K磁盘空间。



可以将远程设备设置为使用压缩磁盘格式,但这是关于它(这将在一定程度上影响性能)。



你到底想要做什么?
You can't, not really. You can use different compression formats (like RAR for example) but you will get exactly the same results.
When you remove files from the archive - be it Zip or whatever - they will take up the original space, possibly more depending on the two systems file storage methods - and generally speaking small files take more storage than you might think, and each file is generally stored in a unit whose size depends on the system, but which is normally a multiple of 4K. So a single character file will take a minimum of 4K of disk space on most systems.

It may be possible to set the "remote device" to use a compressed disk format but that's about it (and that will impact performance to some extent).

What exactly are you trying to do?


您可以使用zip的split函数并制作较小的块,并在处理时删除每个原始zip块。
You could use the split function of zip and make smaller chunks and delete each original zip chunk as it is processed.


唯一的另一种方法是以某种方式将设备连接到PC,或者USB或网络,并使用文件系统方法直接传输文件和文件夹结构。



你以某种方式将.ZIP文件放到设备上,所以你已经得到了与设备的连接。使用相同的方法或类似方法传输文件和文件夹。
The only other method is to connect the device to the PC somehow, either USB or network, and transfer the files and folders structure directly using file system methods.

You're getting the .ZIP file onto the device somehow, so you've got the connection to the device. Transfer the files and folders using the same method or similar.


这篇关于如何在不压缩文件和文件夹的情况下将文件和文件夹捆绑到一个单元中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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