Last active
July 20, 2016 00:50
-
-
Save bigsnarfdude/70464d5a94f8b36bdac3df311fff2b71 to your computer and use it in GitHub Desktop.
move mnist images to folders bash script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir hydrated_images | |
cd hydrated_images | |
mkdir zero | |
mkdir nine | |
mkdir eight | |
mkdir seven | |
mkdir six | |
mkdir five | |
mkdir four | |
mkdir three | |
mkdir two | |
mkdir one | |
mv ../image_4_*.jpg ./four | |
mv ../image_3_*.jpg ./three | |
mv ../image_2_*.jpg ./two | |
mv ../image_1_*.jpg ./one | |
mv ../image_0_*.jpg ./zero | |
mv ../image_9_*.jpg ./nine | |
mv ../image_8_*.jpg ./eight | |
mv ../image_7_*.jpg ./seven | |
mv ../image_6_*.jpg ./six | |
mv ../image_5_*.jpg ./five |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment