updates
This commit is contained in:
17
README.md
17
README.md
@@ -3,26 +3,35 @@
|
||||
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.
|
||||
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:
|
||||
```bash
|
||||
ln -s /path/to/split_zip_into_smaller_chunks.py ~/bin/split_zip_into_smaller_chunks
|
||||
python install_scripts.py
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
### zip splitter:
|
||||
```bash
|
||||
~/bin/split_zip_into_smaller_chunks
|
||||
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:
|
||||
```bash
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user