<commit_before># imagizor
The Imagizor is a bash script, that download Software images and write the Images to an SD-Card or to an USB-Stick.
It can a cancels download resume, so can't a bad friend make a bad joke and cancel the download. 
This Script is the revolutionary Image writer script, it can even unpack a gz file without any help.
But the Script is in a !!Beta!! version, maybe it is not the revolutionary Image writer script, but in a while time i can say it is perfect (all data without guarantee).

You need a Formatter tool to get the maximum performance, for linux i use the shfmt foramtter you can download it here:https://github.com/mvdan/sh/releases/download/v2.0.0/shfmt_v2.0.0_linux_amd64

Now you can use the Script with the formatter to get the maximum power and when you have great ideas for the script, then you can work on it yourself.

But now the question how does the script work and how it looks in action?
For these question, i have prepare a example, that show you how the script works.

![distribution overview](images/Vorschau.png)

With ./imagizor.sh you call out the Script, -d is the first parameter he download the given link, the link is the second Parameter for my example is the Downloadlink: http://download.opensuse.org/distribution/leap/42.3/iso/openSUSE-Leap-42.3-DVD-x86_64.iso.sha256

Now the magic begins.

The script started to Download the Link (Download file is the Image file), now you can pick a device (SD-Card or USB-Stick), the image file will copy to the device. 

The device muss have more memory then the Image file to guarantee this the script checked the filesize and the size of the device with each other.
<commit_msg>add a local copy function<commit_after># imagizor
The Imagizor is a bash script, that download Software images and write the Images to an SD-Card or to an USB-Stick.
It can a cancels download resume, so can't a bad friend make a bad joke and cancel the download. 
This Script is the revolutionary Image writer script, it can even unpack a gz file without any help.
But the Script is in a !!Beta!! version, maybe it is not the revolutionary Image writer script, but in a while time i can say it is perfect (all data without guarantee).

You need a Formatter tool to get the maximum performance, for linux i use the shfmt foramtter you can download it here:https://github.com/mvdan/sh/releases/download/v2.0.0/shfmt_v2.0.0_linux_amd64

Now you can use the Script with the formatter to get the maximum power and when you have great ideas for the script, then you can work on it yourself.

But now the question how does the script work and how it looks in action?
For these question, i have prepare a example, that show you how the script works.

![distribution overview](images/Vorschau.png)

With ./imagizor.sh you call out the Script, -d is the first parameter he download the given link, the link is the second Parameter for my example is the Downloadlink: http://download.opensuse.org/distribution/leap/42.3/iso/openSUSE-Leap-42.3-DVD-x86_64.iso.sha256

Now the magic begins.

The script started to Download the File from the Link (Download file is the Image file), now you can pick a device (SD-Card or USB-Stick), the image file will copy to the device. 

The device muss have more memory then the Image file to guarantee this the script checked the filesize and the size of the device with each other.

{'fraction_non_alphanumeric': 0.05138806851742469, 'fraction_numerical': 0.012404016538688719, 'mean_word_length': 4.131818181818182, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5228270', 'n_tokens_mistral': 942, 'n_tokens_neox': 907, 'n_words': 541}