30 lines
921 B
Markdown
30 lines
921 B
Markdown
# CMG Commands
|
|
|
|
A collection of python scripts for Carpenter Media Group
|
|
|
|
- A script that generates a direct downloadable link from Google Drive. Works around the issue of the "no virus scan" notification.
|
|
|
|
- A simple python script to split a Zip file into smaller chunks.
|
|
|
|
Script will ask for the size, in Gigabytes, of the new files. And it will ask for the filename of the input file (can be in the same directory or you can enter a path to the file).
|
|
|
|
## Installation
|
|
|
|
Download script to a preferable location. I like to symlink it to a bin directory I have created.
|
|
```bash
|
|
ln -s /path/to/split_zip_into_smaller_chunks.py ~/bin/split_zip_into_smaller_chunks
|
|
```
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
~/bin/split_zip_into_smaller_chunks
|
|
Enter the maximum (in GB) zipped file size (2 is default): 1.6
|
|
Enter the path to the zipped file: enewscourier.com_archive_2016.zip
|
|
```
|
|
|
|
|
|
## License
|
|
|
|
[MIT](https://choosealicense.com/licenses/mit/)
|