json-downloader-poweshell
🌍 English, 🎎 Korean
-
File downloader
for powershell
using json
Usage
How to use it in Windows
Command Prompt
CASE 1) Only downloading files
powershell -ExecutionPolicy Bypass -File main.ps1 json test.json
-
test.json
file is a file that contains information about the file you want to download.
CASE 2) Decompress the file after downloading it
- This function only works on Windows, and can be used on Linux-like systems by modifying part of the script.
powershell -ExecutionPolicy Bypass -File main.ps1 7z zip.json
How to use it in Powershell
Feature
Downloading file(s)
-
It performs the function of downloading files from the following json
contents.
test.json
{
"https://raw.githubusercontent.com/j2doll/json-downloader/master/README.md" : "README.md" ,
"https://raw.githubusercontent.com/j2doll/json-downloader/master/LICENSE" : "LICENSE"
}
Decompressing file(s)
-
Decompressing downloaded file(s) using 7zip (*.zip,*.7z,etc)
test.json
{
"https://github.com/JayTwoLab/json-downloader-poweshell/archive/refs/tags/v0.1.zip" : "v0.1.zip" ,
}
- ❗ If 7z is not installed on Linux or Mac, please install it.
License
- json-downloader-poweshell is under MIT License.
- https://github.com/JayTwoLab/json-downloader-poweshell