Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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
Posted
Updated 28-Sep-18 2:33am
Comments
DaveAuld 28-Sep-18 7:27am    
What sort of device? can you not connect the 'device' to the PC and simply drag across? Can the 'device' run software of any type e.g. ftp services etc.?

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?
 
Share this answer
 
You could use the split function of zip and make smaller chunks and delete each original zip chunk as it is processed.
 
Share this answer
 
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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900