I am in the process of migration 500 database from one directory to 5
separate directories. I have already worked out which directories to split
the 500 database into and stored it into a text file eg. db.txt.
The format of the file is as follows:
<database name> <destination directory>
How do I pass the two parameters to the command of:
mv <database name> <destination directory>
put it in a while loop till eof ?