Terminal: cp -r with directories with same name and different case

2

I'm trying to copy around ~250Gb from one drive to another. Catch is that the destination drive is formatted in NTFS or FAT or something and isn't case-sensitive, and I've got folders I need to copy across that are named like so:

FolderOne
folderone

I don't care if I merge the directories, but I don't want to lose any data. Any help?

okay56k

Posted 2016-02-06T22:00:32.197

Reputation: 131

cp -i -r will prompt before overwriting – Jasen – 2016-02-07T02:00:19.327

Answers

0

What worked best for me was:

ditto /Source/ /Destination/

Perfect.

okay56k

Posted 2016-02-06T22:00:32.197

Reputation: 131