Re: restructuring folders

[email protected]
Newsgroups gmane.mail.exmh.user
Message-ID <[email protected]>
On Thu, 08 Sep 2005 11:36:54 +0200, Kjell Eriksson said:
> 
> Hi folks,
>   Sorry if this is a FAQ I haven't found. Is there a way to move some folders
> including their subfolders into one new collective folder preserving the old
> structure? (If also the sequence referencing could be kept it would be even
> better..) 

So you have a folder 'a', that has sub-folders 'a/b' and 'a/c', and a target
folder 'd', and you want to move 'a' to become a sub-folder of 'd'?  The
trick is to remember that it's all just files, so tools like 'mv' will work:

mv Mail/a Mail/d

and you're done.  If you wanted to *merge* 'a' and 'd', you probably need to:

folder +a
refile 1:last +d   # This probably loses all the sequences in 'a'
cd ~/Mail/a     # Deal with the sub-folders, that refile doesn't move.
mv * ~/Mail/d   # all done, and sequences in a/b and a/c should be intact.

_______________________________________________
Exmh-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/exmh-users
signature.asc (application/pgp-signature, 226 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001

iD8DBQFDIHN9cC3lWbTT17ARAiFQAKCL4UUC5aHDjIvMGEdcaKo74riweACdH7Ur
VIGnKrwdW62fUekAN66hM1U=
=sjU7
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.