I tried the following command
cp -avr origem destino
The problem is that the command creates a folder inside the destination and inside it the content. What I want is the content directly in the folder without creating another folder
I tried the following command
cp -avr origem destino
The problem is that the command creates a folder inside the destination and inside it the content. What I want is the content directly in the folder without creating another folder
That way you're taking the folder with the files you have inside. Try this way to take only the files.
cp caminhoDaPasta/* caminhoDoDestino/
The *
indicates that all files will be copied.