Move files to logical positions, no more copying of files.

This commit is contained in:
DariusIII
2015-05-27 00:39:04 +02:00
parent f6632f2679
commit ffa9797126
1472 changed files with 27 additions and 41 deletions
@@ -0,0 +1,20 @@
<?php
if (!isset($argv[1]) || !in_array($argv[1], ['nfo', 'filename', 'md5', 'par2', 'miscsorter', 'predbft'])) {
exit(
'First argument (mandatory):' . PHP_EOL .
'nfo => Attempt to fix release name using the nfo.' . PHP_EOL .
'filename => Attempt to fix release name using the filenames.' . PHP_EOL .
'md5 => Attempt to fix release name using the MD5.' . PHP_EOL .
'par2 => Attempt to fix release name using the par2.' . PHP_EOL .
'miscsorter => Attempt to fix release name using magic.' . PHP_EOL .
'predbft => Attempt to fix release name using Predb full text matching.' . PHP_EOL . PHP_EOL
);
}
declare(ticks=1);
require('.do_not_run/require.php');
use newznab\libraries\Forking;
(new Forking())->processWorkType('fixRelNames_' . $argv[1], [0 => $argv[1]]);