So i have a script called process_files, and when a file type is called, a directory should be created based on what was inputted into the command line. So for example, when process_files JPG is entered, a JPG directory should be created. However, when i try to do this it also creates the other directories that are in my code. This is the code.
 #!/bin/sh
 $jpg mkdir jpg
 $gif mkdir gif
 $docx mkdir docx
 $png mkdir png
 
    