Skip to content

This Python script prompts the user for the name of a folder to zip, then creates a new zip archive file containing the folder's contents using the 'os' and 'zipfile' modules, and displays a message confirming the archive has been successfully created.

License

Notifications You must be signed in to change notification settings

tekniq187/zipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Zipper Script

The Zipper Script is a command-line interface (CLI) tool that allows you to easily compress and archive files and folders into Zip files.

Getting Started

Prerequisites

You will need to have Python 3 installed on your computer. You can check your Python version by running the following command:

python --version

Installing

To use the Zipper Script, clone the repository from GitHub and navigate to the project directory. Then, install the required packages by running the following command:

pip install -r requirements.txt

Running the Script

You can run the script by using the following command:

python zipper.py [path to folder or file] [name of output Zip file]

For example, to zip a folder called "myfolder" and create a Zip file called "myzipfile.zip", use the following command:

python zipper.py myfolder myzipfile.zip

The script will compress the files and folders inside "myfolder" and create a new Zip file called "myzipfile.zip" in the same directory as the script.

Authors

* Tekniq187 - tek

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

* This project was inspired by the need to easily compress and archive large sets of files and folders into a single Zip file.

About

This Python script prompts the user for the name of a folder to zip, then creates a new zip archive file containing the folder's contents using the 'os' and 'zipfile' modules, and displays a message confirming the archive has been successfully created.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages