Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

How does one interactively rename an IMAP folder within the mutt MUA? Currently, if I want to change a folder name, I use the gmail web browser interface, but this is rather inefficient. Is there an equivalent of the unix mv command in mutt?

When I search for this topic on google, the search results pertain to renaming local mutt folders and files like .muttrc.

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

You can rename IMAP folder in mutt, while you are changing a folder and you are in the list of folders:

'c?'

(change folder, then use a list of folders).

When you are on the folder, which has to been renamed, use 'r' key and you will be asked for the new name of folder.

share|improve this answer
    
When I was searching the internet for how to do this, I came across a post that said that one could use the r key, but I was confused because r is bound to reply by default. Now, it is clear that this applies only in the context of the list of folders. When I rename a folder by pressing r, I receive the following prompt: Rename mailbox 'X' to: [C^[[C^[[C^[[C^[[ -- there are precisely 36 repeats of [[C^, which I must delete before typing the name. Do you know why this string of characters appears and how I can avoid it besides deleting it each time I choose to rename a folder? Thanks. –  user001 Aug 2 '12 at 6:00
    
It's unclear for me... It can give you the IMAP server... Maybe it is some UTF-8 characters? I can only guess... I have in the prompt actual (old) name of the IMAP folder... –  Jan Marek Aug 2 '12 at 6:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.