This file contains hidden or 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
#Author: Jacob Rust | |
#Date: 7/8/2013 | |
#Description:This script organizes downloaded files into separate folders depending | |
#on the file type. This was made for windows systems. | |
#Download directory should be the first command line argument | |
#New file types can be added to the dictionary in the main method | |
import os | |
import sys | |
import hashlib |
This file contains hidden or 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
#! /usr/bin/python | |
# | |
import sys | |
import os | |
import tempfile | |
from Quartz.CoreGraphics import * | |
from os.path import splitext | |
from os.path import basename | |
from os.path import join |