1 | #!/usr/bin/perl |
1 | #!/usr/bin/perl |
2 | |
2 | |
3 | # decode all the files in the directory uusrc/ and copy |
3 | # decode all the files in the directory uusrc/ and copy |
4 | # the resulting files to uudst/ |
4 | # the resulting files to uudst/ |
|
|
5 | |
|
|
6 | #use Coro::Multicore; |
5 | |
7 | |
6 | use Convert::UUlib ':all'; |
8 | use Convert::UUlib ':all'; |
7 | |
9 | |
8 | sub namefilter { |
10 | sub namefilter { |
9 | my ($path) = @_; |
11 | my ($path) = @_; |
… | |
… | |
20 | 0 |
22 | 0 |
21 | } |
23 | } |
22 | |
24 | |
23 | SetOption OPT_RBUF, 128*1024; |
25 | SetOption OPT_RBUF, 128*1024; |
24 | SetOption OPT_WBUF, 1024*1024; |
26 | SetOption OPT_WBUF, 1024*1024; |
25 | SetOption OPT_IGNMODE, 1; |
|
|
26 | SetOption OPT_IGNMODE, 1; |
27 | SetOption OPT_IGNMODE, 1; |
27 | SetOption OPT_VERBOSE, 1; |
28 | SetOption OPT_VERBOSE, 1; |
28 | SetOption OPT_DOTDOT, 1; |
29 | SetOption OPT_DOTDOT, 1; |
29 | SetOption OPT_AUTOCHECK, 0; |
30 | SetOption OPT_AUTOCHECK, 0; |
30 | |
31 | |