aria2.conf
as/etc/aria2.conf
aria2.sh
as/etc/init.d/aria
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
#!/bin/sh | |
# | |
# A SUSE Linux start/stop script for the VSE Virtual Tape Server based on the SUSE Linux start/stop script for Java daemons by Christian d'Heureuse. | |
# | |
# Home page: http://www.source-code.biz | |
# License: GNU/LGPL V2.1 (http://www.gnu.org/licenses/lgpl.html) | |
# Copyright 2006 Christian d'Heureuse, Inventec Informatik AG, Switzerland. | |
# | |
# History: | |
# 2006-06-27 Christian d'Heureuse: Script created. |
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
#!/bin/sh | |
# | |
# A SUSE Linux start/stop script for Java daemons. | |
# | |
# Home page: http://www.source-code.biz | |
# License: GNU/LGPL V2.1 (http://www.gnu.org/licenses/lgpl.html) | |
# Copyright 2006 Christian d'Heureuse, Inventec Informatik AG, Switzerland. | |
# | |
# History: | |
# 2006-06-27 Christian d'Heureuse: Script created. |
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
from argparse import ArgumentParser, ArgumentTypeError | |
import os.path | |
import fnmatch | |
from plistlib import readPlist | |
import exiftool | |
def directory(value): | |
if not os.path.isdir(value) or not os.path.exists(value): | |
msg = "'%s' is not a valid directory" % value | |
raise ArgumentTypeError(msg) |