mirror of
https://github.com/imapsync/imapsync.git
synced 2025-07-22 18:25:54 +02:00
1.37
This commit is contained in:
parent
564aed33ea
commit
1ae8613d80
6 changed files with 83 additions and 44 deletions
16
learn/zz
Normal file
16
learn/zz
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
my $f_sep="/";
|
||||
my $t_sep=".";
|
||||
|
||||
foreach my $f_fold ("testsub/testsub3", "testsub.testsub3" ) {
|
||||
my $t_fold;
|
||||
print "From Folder [$f_fold]\n";
|
||||
$t_fold = $f_fold;
|
||||
my $t_fold2 = $f_fold;
|
||||
$t_fold =~ s@\Q$f_sep@$t_sep@g;
|
||||
$t_fold2 =~ s@\Q$t_sep@$f_sep@g;
|
||||
#$t_fold =~ s@/@.@g;
|
||||
print "To /. Folder [$t_fold]\n";
|
||||
print "To ./ Folder2[$t_fold2]\n\n";
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue