Skip to content

Instantly share code, notes, and snippets.


Joshua Temple jltemple

  • Netherlands
View GitHub Profile
jltemple /
Last active Dec 15, 2015 — forked from zupo/
Split a folder with many files into subfolders with N files.Usage: python path/to/target/folder
# Modifying orginally made by Peter Lamut to move a files into a directory tree based on their last 4 characters
# Similar problem and solves this issue:
# EBES06281R0.xml will be moved to /81/r0/EBES06281R0.xml
# Original:
import argparse
import os
import shutil
You can’t perform that action at this time.