I am a long time Windows user and just starting to use Ubuntu so forgive my newbie questions.
I am trying to copy all my data files from Windows to Ubuntu 20.04.2 LTS.
I have copied the data drive of the Windows to an external HD and am now trying to copy that to the internal Ubuntu Desktop HD.
I got plenty of "permission denied" errors when trying to use the GUI similar to: Copying folder and subfiles/folders via terminal.
So I got the bright idea to use the terminal.
I first used lsblk to find the mountpoint of the external HD
Then I tried (please don't laugh):
sudo cp -avr /MOUNTPOINToftheexternal/* ~/Desktop/SAVEDIRECTORY/
However it keeps saying:
cp: cannot stat '/MOUNTPOINToftheexternal/*': No such file or directory.
It says this despite my fiddling with the path the best I could think of.
This is what I want to do:
I would like to get from my external HD all the data files, preferably without personal metadata like owner, date created, where created, etc, to be copied to my internal Ubuntu HD.
I think that if I could change permissions I would not get the "permission denied" errors from the GUI method. However an attempt using the File Manager method failed.
Alternatively, I thought I could use the terminal using sudo but seem not to be able to find out the correct path I need to reach the external HD.
Someone told me about MAT (metadata anonymizing toolkit) which may be able to help eliminate the personal metadata but I heard that it may have a 2nd version and that it still doesn't take care of certain files like pdf or RAW files.
Please let me know what I am doing wrong and how I can go about doing something that seems like it would take me 5 min in Windows.
I have tried to search the internet and forums for this seemingly easy question without sufficient answers.
I tried asking this question, probably in a not very clear way before here: How do I copy my Windows 7 derived files off my USB to Ubuntu?
However, I must have not explained myself well because I tried the answer and it didn't work for me.
Thank you. I appreciate your time.
$ sudo df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 1.7M 1.6G 1% /run
/dev/mapper/vgubuntu-root 456G 8.9G 424G 3% /
tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/loop0 65M 65M 0 100% /snap/gtk-common-themes/1514
/dev/loop4 52M 52M 0 100% /snap/snap-store/518
/dev/loop2 56M 56M 0 100% /snap/core18/2074
/dev/loop3 56M 56M 0 100% /snap/core18/2128
/dev/loop7 33M 33M 0 100% /snap/snapd/12883
/dev/loop6 51M 51M 0 100% /snap/snap-store/547
/dev/loop5 219M 219M 0 100% /snap/gnome-3-34-1804/72
/dev/loop8 33M 33M 0 100% /snap/snapd/12704
/dev/loop1 219M 219M 0 100% /snap/gnome-3-34-1804/66
/dev/loop9 66M 66M 0 100% /snap/gtk-common-themes/1515
/dev/sda2 705M 217M 437M 34% /boot
/dev/sda1 511M 5.3M 506M 2% /boot/efi
tmpfs 1.6G 32K 1.6G 1% /run/user/1000
/dev/sdb1 1.9T 1.3T 548G 71% /media/user/External HD
The relevant permissions on the folder on the External HD that I want to copy are:
drwxr-xr-x 4 user user 131072 Dec 31 2020 DATA save/