Changeset 1458


Ignore:
Timestamp:
Apr 6, 2012, 11:08:12 AM (6 years ago)
Author:
ebaudrez
Message:

make $touch 1 by default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • projects/md2mb/devel/md2mb/bin/md2mb.pl

    r1457 r1458  
    3030if (@default_profiles) { undef $profile }
    3131my $subdir;
    32 my $touch = 0;
     32my $touch = 1;
    3333
    3434# parse command-line options
     
    3939    'help|h'      => \$help,
    4040    'man|m'       => \$man,
     41    'notouch|n'   => sub { $touch = 0 },
    4142    'oldroot|o=s' => \$oldroot,
    4243    'profile|p=s' => \$profile,
    4344    'subdir|s=s'  => \$subdir,
    44     'touch|t'     => \$touch,
    4545) or pod2usage(2);
    4646pod2usage(1) if ($help);
     
    217217   -help    | -h        brief help message
    218218   -man     | -m        full documentation
     219   -notouch | -n        do not create empty files corresponding to .sdb
     220                dirs
    219221   -oldroot | -o <path>     location of the KMail mailboxes
    220222   -profile | -p <path>     path to the Thunderbird profile to install to
    221223   -subdir  | -s <name>     subdir that will be created to hold the
    222224                imported mails
    223    -touch   | -t        create empty files corresponding to .sdb dirs
    224225
    225226=head1 OPTIONS
     
    251252Prints the manual page and exits.
    252253
     254=item B<-notouch>
     255
     256Do not create empty files corresponding to the F<.sbd> dirs created by this
     257script. By default, those empty files are created to make KMail's subfolders
     258show up in Thunderbird. You probably don't need to use this option, but it is
     259here nevertheless in case you need it.
     260
    253261=item B<-oldroot> I<path>
    254262
     
    268276profile to hold the imported mails. This option is mandatory; there is no
    269277default.
    270 
    271 =item B<-touch>
    272 
    273 Create empty files corresponding to the F<.sbd> dirs created by this script.
    274 Use this hack if your mails don't show up in Thunderbird.
    275278
    276279=back
     
    315318
    316319If you have used a structure with subfolders in KMail, mails in subfolders
    317 might not show up in Thunderbird. Remove the import, and run again with
    318 B<-touch>.
     320should show up correctly in Thunderbird.
    319321
    320322=head1 AUTHOR
Note: See TracChangeset for help on using the changeset viewer.