/    Sign up×
Community /Pin to ProfileBookmark

modify zip or txt files ?

Hi,

I have quite a lot of zip files contaning txt files. I would like to extract the archive, modify the txt files (find and replace) and rezip the txt files. What would be the fastest way to do so ? Any experience with this ?

thanks a lot !!!!!

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@MrCoderOct 11.2007 — Windows or Linux server?
Copy linkTweet thisAlerts:
@patimagesauthorOct 11.2007 — linux. and following your signature, I would say, please :-D !
Copy linkTweet thisAlerts:
@MrCoderOct 11.2007 — That was posted by somebody called temp.user123 mate, not me lol.

Well I have very little experience with the zip based functions within PHP but I could help with the text file based stuff once we figure out the zip stuff.

What kind of compressed files are they?

Do they have to be zip or would tar / gz do it?
×

Success!

Help @patimages spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.21,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...