View mp3-copier
1 2 3 4 5 6 7 8 9 10
dest_base="destination"
src_dir="src/"
 
atfile=0
atdir=0
for file in $src_dir/*; do
if ((atfile == 0)); then
dest_dir=$(printf "$dest_base/%0.5d" $atdir)
[[ -d $dest_dir ]] || mkdir -p $dest_dir
fi
View gist:3971606
1 2 3 4 5 6 7 8 9 10
<?php
/**
* Copyright 2006 - 2012 Eric D. Hough (http://ehough.com)
*
* This file is part of TubePress (http://tubepress.org)
*
* TubePress is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
View check.php
1 2 3 4 5 6 7 8 9 10
<?php
/**
* Copyright (c) 2012 - 2013 Eric Hough (eric@tubepress.org)
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
Something went wrong with that request. Please try again.