Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
deleted 149 characters in body
Source Link
Rui F Ribeiro
  • 58k
  • 28
  • 156
  • 237

I'm rather new at Linux and I want to copy all contents from one disk to another HDD. I have searched around the internet and from what I've read, I thought the cp command might do the trick.

cp -aR /dev/nvme0n1p1/* /dev/sda1/

/dev/nvme01np1 is the old disk that I want its content to be copied and /dev/sda1 is the new disk. However I got an error saying that /dev/nvme01np1 is not a directory.

Is there any error with the syntax of my command line?

I'm rather new at Linux and I want to copy all contents from one disk to another HDD. I have searched around the internet and from what I've read, I thought the cp command might do the trick.

cp -aR /dev/nvme0n1p1/* /dev/sda1/

/dev/nvme01np1 is the old disk that I want its content to be copied and /dev/sda1 is the new disk. However I got an error saying that /dev/nvme01np1 is not a directory.

Is there any error with the syntax of my command line?

I want to copy all contents from one disk to another HDD. I thought the cp command might do the trick.

cp -aR /dev/nvme0n1p1/* /dev/sda1/

/dev/nvme01np1 is the old disk that I want its content to be copied and /dev/sda1 is the new disk. However I got an error saying that /dev/nvme01np1 is not a directory.

added 12 characters in body
Source Link
user147505
user147505

I'm rather new at Linux and I want to copy all contents from one disk to another HDD. I have searched around the internet and from what I've read, I thought the cpcp command might do the trick.

cp -aR /dev/nvme0n1p1/* /dev/sda1/

cp -aR /dev/nvme0n1p1/* /dev/sda1/

/dev/nvme01np1/dev/nvme01np1 is the old disk that I want its content to be copied and /dev/sda1/dev/sda1 is the new disk. However I got an error saying that /dev/nvme01np1/dev/nvme01np1 is not a directory.

Is there any error with the syntax of my command line?

I'm rather new at Linux and I want to copy all contents from one disk to another HDD. I have searched around the internet and from what I've read, I thought the cp command might do the trick.

cp -aR /dev/nvme0n1p1/* /dev/sda1/

/dev/nvme01np1 is the old disk that I want its content to be copied and /dev/sda1 is the new disk. However I got an error saying that /dev/nvme01np1 is not a directory.

Is there any error with the syntax of my command line?

I'm rather new at Linux and I want to copy all contents from one disk to another HDD. I have searched around the internet and from what I've read, I thought the cp command might do the trick.

cp -aR /dev/nvme0n1p1/* /dev/sda1/

/dev/nvme01np1 is the old disk that I want its content to be copied and /dev/sda1 is the new disk. However I got an error saying that /dev/nvme01np1 is not a directory.

Is there any error with the syntax of my command line?

Source Link

Copying files from one disk to another disk

I'm rather new at Linux and I want to copy all contents from one disk to another HDD. I have searched around the internet and from what I've read, I thought the cp command might do the trick.

cp -aR /dev/nvme0n1p1/* /dev/sda1/

/dev/nvme01np1 is the old disk that I want its content to be copied and /dev/sda1 is the new disk. However I got an error saying that /dev/nvme01np1 is not a directory.

Is there any error with the syntax of my command line?