I have a portable disk with contents like this:
/media/usb1/CBCradio3/1.wav
/media/usb1/CBCradio3/2.wav
/media/usb1/CBCradio3/3.wav
/media/usb1/CBCradio3/4.wav
/media/usb1/podcasts/1.wav
/media/usb1/podcasts/2.wav
/media/usb1/podcasts/3.wav
And a hard drive with contents like this:
/home/user/Music/CBCradio3/2.wav
/home/user/Music/CBCradio3/3.wav
/home/user/Music/radio12/1.wav
/home/user/Music/radio12/2.wav
I want to copy the data over, however, if a foldername inside /Music/
already exists, it should ignore it.
In other words, I don't want folders to end up with mixed data. If I use regular copy to copy over the drive, I end up with content like this:
/home/user/Music/CBCradio3/1.wav <--added to folder
/home/user/Music/CBCradio3/2.wav
/home/user/Music/CBCradio3/3.wav
/home/user/Music/CBCradio3/4.wav <--added to folder
/home/user/Music/podcasts/1.wav <--added whole folder
/home/user/Music/podcasts/2.wav <--added whole folder
/home/user/Music/podcasts/3.wav <--added whole folder
/home/user/Music/radio12/1.wav
/home/user/Music/radio12/2.wav
But I don't want it to merge content, if a folder exists, it should skip copying content. How can I achieve this?
- I tried copying in
mc
andthunar
but it merges folder contents. - The directories below
.../usb1/
do not contain further sub-directories.