aef6932eacf750ccb0a6efd76611e68587a2a3c4
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 cmg-commands directory either by checking it out with git or downloading using the download link (under the 'three dots' above.)
Then, cd into the directory and run the following command:
python3 install_scripts.py
Usage
zip splitter:
cmg-split-zip-smaller-chunks.py
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
Google Drive link creator:
cmg-get-drive-link.py
Enter the Google Drive Share URL: https://drive.google.com/file/d/1Cn6VxAdzhO5v1Km3iJhT8m-ZMcFIzbup/view?usp=drive_link
https://drive.usercontent.google.com/download?export=download&authuser=0&id=1Cn6VxAdzhO5v1Km3iJhT8m-ZMcFIzbup&confirm=t&uuid=8fe6734c-2491-4897-bd0a-46165e953d09
License
Description
Languages
Python
100%