© 2023 Hashnode
#zip
Have you ever had a ton of files to send to someone, but didn't want to overwhelm them with a massive email attachment? Or maybe you just need to clean up your own computer and want to condense a bunc…
In my article today, I will show you how you can upload both single and multiple files in PHP and save them in a zip file. I will make use of the ZipArchive() class in PHP for the purpose of this tuto…
This is a handy command when working with Git. git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT HEAD~1 HEAD | xargs tar -rf /d/temp/changes.tar It basically takes all the changes from…