Skip to content

Instantly share code, notes, and snippets.

View fourlastor's full-sized avatar

Daniele Conti fourlastor

  • World
View GitHub Profile
@fourlastor
fourlastor / grabdng.py
Last active March 20, 2016 13:39 — forked from rock3r/grabdng.py
Grabs all DNG files from the connected Android device's camera roll
#!/usr/bin/python
import argparse, os, subprocess
# Grab the script directory to use as default
current_directory = os.path.dirname(os.path.abspath(__file__))
def parse_cli_arguments():
parser = argparse.ArgumentParser(description = 'Grabs all DNG files from the connected Android device\'s camera roll.')
parser.add_argument('--output-path', type = str, help = 'The path to download the DNGs to. Default: {script_path}/raw',