0
I tried the following command
cp -avr origem destino
The problem is that the command creates a folder inside the destination and the contents inside.
What I want is the contents directly in the folder without creating another folder
0
I tried the following command
cp -avr origem destino
The problem is that the command creates a folder inside the destination and the contents inside.
What I want is the contents directly in the folder without creating another folder
4
This way you are taking the folder with the files inside. Try this way to take only the files.
cp caminhoDaPasta/* caminhoDoDestino/
The *
indicates that all files will be copied.
Browser other questions tagged linux
You are not signed in. Login or sign up in order to post.
apareceu omitting directory
– Amadeu Antunes
solved using cp -avr wayDaPast/* wayDoDestino/
– Amadeu Antunes