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 | |
# Copyright (c) 2013 Quanlong He. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
""" | |
resign-ipa.py -- Resign the ipa with new certificate and mobileprovision. | |
""" | |
""" |
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/sh | |
O=mp4s | |
videos=$(find ./videos -iname "*.avi") | |
for f in $videos; do | |
o="$O/$(basename ${f%%.avi}).mp4" | |
if [[ ! -f "$o" ]]; then | |
cmd="HandBrakeCLI -i "$f" -o "$O/$(basename ${f%%.avi}).mp4"" |
OlderNewer