Skip to content

Instantly share code, notes, and snippets.

@danieltroger
danieltroger / sort.php
Last active August 29, 2015 14:12 — forked from anonymous/sort.php
Sort video files.
#!/usr/bin/php
<?php
echo "\r \r"; // if you have executed this with the php CLI (php filename), we remove the shebang
declare(ticks = 1);
/*
The MIT License (MIT)
Copyright (c) 2014-2015 Daniel Troger
Permission is hereby granted, free of charge, to any person obtaining a copy of