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
#!/usr/bin/env python | |
import sys | |
import os | |
import thread | |
import threading | |
import time | |
import syslog | |
import netifaces | |
import serial | |
import Queue |
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
#!/bin/bash | |
# Usage: | |
# ./testmedia.sh 2>~/broken_files | |
# Make a temporary file | |
TEMP=`mktemp` | |
# Find all media files in current directory | |
find -type f -name '*.mkv' -o -name '*.avi' > "${TEMP}" |