Major rewrite of video import scripts to handle videos from any device
[videoscripts/.git] / organize_videos
index 34fd2e6b66cbcc67ac36b0744905bd375fd77a0c..ea92012c51530c08b07c53a0a76e52a630337a34 100755 (executable)
@@ -67,6 +67,7 @@ sub usage {
     print "   -d <dir>  directory to recreate the playlists in. Only needed if -p option is given\n";
     return 1;
 }
+$SIG{'INT'} = sub {die "-E- Killed by CTRL-C\n"};
 
 sub is_folder_empty {
     my $dirname = shift;
@@ -233,7 +234,6 @@ foreach $file (`$find_mkv`) {
     }
     $dstfile = "$newfile.$ext";
 
-
     if(defined $opt_t) {
        print "-> Moving \"$srcdir/$srcfile\" to \"$dstfile\"\n";
     } else {