Changing names of folders during sync.
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Dear all,
I want to change the names of some of the folders as they get
synchronised locally. The sample config suggests:
nametrans = lambda foldername: re.sub('^INBOX.', '', foldername)
This will strip INBOX. off the beginning of each name. However I'd like
to make a few more changes also and I don't know how to specify more
than one change. Is this possible?
i.e.
nametrans = lambda foldername: re.sub('^INBOX.', '', foldername)
nametrans = lambda foldername: re.sub('^INBOX$', 'spool', foldername)
etc.
Joe
--
Josef Karthauser (joe@xxxxxxxxxx) http://www.josef-k.net/
FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/
Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/
================ An eclectic mix of fact and theory. =================
-- Attached file included as plaintext by Ecartis --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iEYEARECAAYFAj9uLfkACgkQXVIcjOaxUBYMxQCeJXIvBJ5TFgydeTSacpS4RxKC
HnUAniVl5cAehtW4kdDP4WWZBliob793
=Dcpz
-----END PGP SIGNATURE-----
- Changing names of folders during sync.,
Josef Karthauser <=
|
|