Home > Back-end >  Programming problem
Programming problem

Time:10-17

How to use the program to modify the zip file within the file named filename and automatically extract the package

CodePudding user response:

Use zlib decompression, can arbitrarily change name, compressed again,

CodePudding user response:

reference 1st floor Minikinfish response:
USES zlib decompression, can arbitrarily change name, recompression,

I'm sorry, but I have tens of thousands of package, I want to by a program to solve this problem, I have no time to such a change a word

CodePudding user response:

refer to the second floor weixin_50141781 response:
Quote: refer to 1st floor Minikinfish response:
USES zlib decompression, can arbitrarily change name, recompression,

I'm sorry, but I have tens of thousands of package, I want to by a program to solve this problem, I have no time to such a change a

Use script, also need to pay attention to, can consider to extract the first, then modify the file name, don't extract, the name of the file first, how to do it?

Can use the script to achieve: to change the file name after decompression first;

Compressed package decompression, the extract the corresponding command, modify the file name, use the command can do it ~ mv
  • Related