LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to type multiple command lines in the terminal (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-type-multiple-command-lines-in-the-terminal-4175492464/)

Beukel 01-24-2014 06:00 PM

how to type multiple command lines in the terminal
 
I have installed Linux Mint Mate15 in dualboot with WindowsXP and want to migrate my Outlook pst mail files to Thunderbird.
I have copied Outlook.pst and archive.pst to /home/Downloads and according to a method found at the internet I want to type the following command lines in the terminal in order to convert the pst files to Thunderbird format:
cd /home/Downloads
mkdir outlook
mkdir archive
readpst -o ./outlook - M -u -w -e -b Outlook.pst
readpst -o ./outlook - M -u -w -e -b archive.pst

=> How can I enter a next line without breaking off and beginning again at the prompt? I tried Enter, Tab, \n, ;, but nothing worked.

After converting the pst files with readpst I should rename the Inbox folder to avoid a conflict on import as follows:
cd /home/Downloads/outlook/Personal*
mv Inbox OldInbox
cd ../../archive/Archive*
mv Inbox OldInbox

And then switch to Thunderbird to create a new temporary subdirectory "tmp" under "Local Folders" and then:
ImportExportTools
-> import all messages from a directory
-> also from its subdirectories
and choose in the dialog "home/Downloads/outlook/Personal Folders". Then I am supposed to see in the parent foldersubfolders start to appear under "tmp" when importing is underway.

Thanks if anyone can help me.
Henk

gengisdave 01-24-2014 06:04 PM

use semicolons: command1; command2 etc

or use command1 && command2, but a failing command stops the execution of whole series, i suggest this


All times are GMT -5. The time now is 07:28 PM.