How Do I Move My Linux Directory to Another Drive?
Contents How Do I Move Linux from One Drive to Another? Copying Mount Both Your Source and Destination Partitions. Run This Command from a Terminal: $ Sudo Cp...
Contents
How do I move Linux from one drive to another?
Copying
- Mount both your source and destination partitions.
- Run this command from a terminal: $ sudo cp -afv /path/to/source/* /path/to/destination. Don’t forget the asterisk after the source path.
- After the command finishes copying, shut down, remove the source drive, and boot the live CD again.
9 июл. 2009 г.
How do I move a directory to another directory in Linux?
To move a file or directory from one location to another, use the command mv. Common useful options for mv include: -i (interactive) — Prompts you if the file you have selected overwrites an existing file in the destination directory.