Permalink
Browse files

docs and output

  • Loading branch information...
1 parent 4149479 commit beddd57cb179337b38fd3bea33a3fcdb24267671 @mj41 committed Jun 9, 2010
View
2 README
@@ -12,7 +12,7 @@ Features:
** .001, .002, ...
* duplicate directory structure tree
** respect basedir_deep configuration option
-** see http://bit.ly/9N2iSW ( docs/test-data/8-after-before-diff.txt )
+** see http://bit.ly/dafLxF ( docs/test-data/summary.txt )
* move/rename normal files (no rar archives)
* check minimum free space on device
* can delete archives if extracted ok
View
@@ -587,6 +587,7 @@ sub do_for_rar_file {
my $dest_dir = catdir( $dconf->{dest_dir}, $sub_dir );
+ my $file_sub_path = catfile( $sub_dir, $file_name );
my $file_path = catfile( $base_dir, $sub_dir, $file_name );
my $rar_ver = $ver - 10;
@@ -713,13 +714,13 @@ sub do_for_rar_file {
}
my $ex_file_path = catfile( $sub_dir, $exp_file_name );
- print "Misssing part num '" . $t_pnum . "' - guessed file name '$exp_file_name' ('$ex_file_path').\n" if $ver >= 2;
+ print "Misssing part num '" . $t_pnum . "' - guessed file name '$ex_file_path'.\n" if $ver >= 2;
}
}
if ( $ver >= 2 ) {
my $num_of_parts = scalar @rar_parts_list;
- print "Extracting file '$file_name'";
+ print "Extracting file '$file_sub_path'";
print " (first of $num_of_parts parts)" if $num_of_parts > 1;
print ".\n";
}
@@ -0,0 +1,36 @@
+Extracting file '/subdir01/test1.rar'.
+Extracting file '/subdir01/test2.rar'.
+Extracting file '/subdir02/subdir2b/test3.rar'.
+Extracting file '/subdir02/subdir2b/test4.rar'.
+Extracting file '/subdir02/test5arch.part1.rar' (first of 5 parts).
+Extracting file '/subdir03/test6-dir - spaces.rar'.
+Extracting file '/subdir03/test7-dir.rar' (first of 28 parts).
+Misssing part num '3' - guessed file name '/subdir04/test9.part3.rar'.
+Misssing part num '6' - guessed file name '/subdir04/test9.part6.rar'.
+Misssing part num '7' - guessed file name '/subdir04/test9.part7.rar'.
+Extracting file '/subdir04/test9.part1.rar' (first of 8 parts).
+Error 3 in extracting from '/mnt/devil/pole2/scripts/unrar/auto-unrar/bin/../../auto-unrar-data/in/subdir04/test9.part1.rar'.
+Rar archive extractiong error: 3.
+Misssing part num '2' - guessed file name '/subdir05/subdir5B-rar_error/test11.part2.rar'.
+Extracting file '/subdir05/subdir5B-rar_error/test11.part1.rar' (first of 4 parts).
+Error 3 in extracting from '/mnt/devil/pole2/scripts/unrar/auto-unrar/bin/../../auto-unrar-data/in/subdir05/subdir5B-rar_error/test11.part1.rar'.
+Rar archive extractiong error: 3.
+Extracting file '/subdir06/subdir6A-rar_ok/test14.part1.rar' (first of 5 parts).
+Misssing part num '4' - guessed file name '/subdir06/subdir6B-rar_error/test15.r02'.
+Extracting file '/subdir06/subdir6B-rar_error/test15.rar' (first of 5 parts).
+Error 3 in extracting from '/mnt/devil/pole2/scripts/unrar/auto-unrar/bin/../../auto-unrar-data/in/subdir06/subdir6B-rar_error/test15.rar'.
+Rar archive extractiong error: 3.
+Extracting file '/subdir07/test17-file.001' (first of 6 parts).
+Extracting file '/subdir08/test18-file.part1.rar' (first of 3 parts).
+Misssing part num '2' - guessed file name '/subdir08/test19-file.part2.rar'.
+Extracting file '/subdir08/test19-file.part1.rar' (first of 3 parts).
+Error 3 in extracting from '/mnt/devil/pole2/scripts/unrar/auto-unrar/bin/../../auto-unrar-data/in/subdir08/test19-file.part1.rar'.
+Rar archive extractiong error: 3.
+Extracting file '/subdir10/ssdA/test27-file.part1.rar' (first of 2 parts).
+Extracting file '/subdir10/ssdA/test28-file.rar'.
+Extracting file '/subdir10/ssdB/test30-file.rar'.
+Extracting file '/subdir10/ssdB/test32-file.part1.rar' (first of 2 parts).
+Extracting file '/subdir10/ssdC/test33-file.part1.rar' (first of 2 parts).
+Extracting file '/subdir10/ssdC/test34-file.part1.rar' (first of 2 parts).
+Extracting file '/subdir11/test38-file.part001.rar' (first of 2 parts).
+Extracting file '/subdir11/test38-file.part002.part1.rar' (first of 2 parts).
@@ -19,6 +19,46 @@ return [
];
---------------------------------------------------------------------------------------------------------
+Output during extraction:
+
+Extracting file '/subdir01/test1.rar'.
+Extracting file '/subdir01/test2.rar'.
+Extracting file '/subdir02/subdir2b/test3.rar'.
+Extracting file '/subdir02/subdir2b/test4.rar'.
+Extracting file '/subdir02/test5arch.part1.rar' (first of 5 parts).
+Extracting file '/subdir03/test6-dir - spaces.rar'.
+Extracting file '/subdir03/test7-dir.rar' (first of 28 parts).
+Misssing part num '3' - guessed file name '/subdir04/test9.part3.rar'.
+Misssing part num '6' - guessed file name '/subdir04/test9.part6.rar'.
+Misssing part num '7' - guessed file name '/subdir04/test9.part7.rar'.
+Extracting file '/subdir04/test9.part1.rar' (first of 8 parts).
+Error 3 in extracting from '/mnt/devil/pole2/scripts/unrar/auto-unrar/bin/../../auto-unrar-data/in/subdir04/test9.part1.rar'.
+Rar archive extractiong error: 3.
+Misssing part num '2' - guessed file name '/subdir05/subdir5B-rar_error/test11.part2.rar'.
+Extracting file '/subdir05/subdir5B-rar_error/test11.part1.rar' (first of 4 parts).
+Error 3 in extracting from '/mnt/devil/pole2/scripts/unrar/auto-unrar/bin/../../auto-unrar-data/in/subdir05/subdir5B-rar_error/test11.part1.rar'.
+Rar archive extractiong error: 3.
+Extracting file '/subdir06/subdir6A-rar_ok/test14.part1.rar' (first of 5 parts).
+Misssing part num '4' - guessed file name '/subdir06/subdir6B-rar_error/test15.r02'.
+Extracting file '/subdir06/subdir6B-rar_error/test15.rar' (first of 5 parts).
+Error 3 in extracting from '/mnt/devil/pole2/scripts/unrar/auto-unrar/bin/../../auto-unrar-data/in/subdir06/subdir6B-rar_error/test15.rar'.
+Rar archive extractiong error: 3.
+Extracting file '/subdir07/test17-file.001' (first of 6 parts).
+Extracting file '/subdir08/test18-file.part1.rar' (first of 3 parts).
+Misssing part num '2' - guessed file name '/subdir08/test19-file.part2.rar'.
+Extracting file '/subdir08/test19-file.part1.rar' (first of 3 parts).
+Error 3 in extracting from '/mnt/devil/pole2/scripts/unrar/auto-unrar/bin/../../auto-unrar-data/in/subdir08/test19-file.part1.rar'.
+Rar archive extractiong error: 3.
+Extracting file '/subdir10/ssdA/test27-file.part1.rar' (first of 2 parts).
+Extracting file '/subdir10/ssdA/test28-file.rar'.
+Extracting file '/subdir10/ssdB/test30-file.rar'.
+Extracting file '/subdir10/ssdB/test32-file.part1.rar' (first of 2 parts).
+Extracting file '/subdir10/ssdC/test33-file.part1.rar' (first of 2 parts).
+Extracting file '/subdir10/ssdC/test34-file.part1.rar' (first of 2 parts).
+Extracting file '/subdir11/test38-file.part001.rar' (first of 2 parts).
+Extracting file '/subdir11/test38-file.part002.part1.rar' (first of 2 parts).
+
+---------------------------------------------------------------------------------------------------------
Diffs before (left side) and after (right side) 'perl auto-unrar.pl ../conf/unrar-data-conf.pl' run.

0 comments on commit beddd57

Please sign in to comment.