1

I need help moving just the contents of the folder over to another folder overwriting any similar folders. I am using the linux terminal SSH.

I don't want to move the folder itself only the contents of the folder overwriting the contents of another folder.

2 Answers 2

1

I transfered it all by hand using

cp /sourcefolder/nameoffileordirectory /destinationfoler/

cp -r for the directories

0
0

If the destination directory already exists and you don't want to copy the source into the destination directory, using the option -T will copy the content of the source into the destination, rather than copying the source itself.

$ cp -T source/ target/
'source/a' -> 'target/a'

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .