Hello,
I am trying rsync and cp from within ssh but i’m not specifying my directories correctly.
i would like to make a copy of a folder and it’s contents that resides in the Public folder on my EX2 Ultra
to a folder that resides in the root of the USB-attached drive called MyBook.
would i specify the source directory starting with “/shares/Public/ …” ? this is what an ls print looks like when I am in the EX2 via ssh:
root@MyCloudEX2Ultra # ls -al
drwxr-xr-x 20 root root 1024 Feb 3 23:26 .
drwxr-xr-x 20 root root 1024 Feb 3 23:26 ..
drwxr-xr-x 3 root root 1024 Feb 3 23:25 CacheVolume
drwxr-xr-x 2 root root 1024 Feb 3 23:25 bin
drwxrwxrwt 7 root root 14540 Feb 3 23:26 dev
drwxr-xr-x 23 root root 3072 Feb 3 23:26 etc
drwxr-xr-x 4 root root 1024 Jan 7 00:21 home
drwxr-xr-x 2 root root 22528 Feb 3 23:25 lib
lrwxrwxrwx 1 root root 11 Jan 7 00:21 linuxrc -> bin/busybox
drwx------ 2 root root 12288 Jan 7 00:21 lost+found
drwxrwxrwt 6 root root 120 Feb 3 23:25 mnt
lrwxrwxrwx 1 root root 7 Feb 3 23:26 nfs -> /shares
drwxr-xr-x 2 root root 1024 Feb 3 23:25 opt
dr-xr-xr-x 153 root root 0 Dec 31 1969 proc
drwxr-xr-x 2 root root 1024 Jan 7 00:21 root
drwxr-xr-x 6 root root 1024 Feb 3 23:26 run
drwxr-xr-x 2 root root 1024 Feb 3 23:25 sbin
drwxrwxrwx 2 root root 1024 Feb 3 23:26 shares
dr-xr-xr-x 12 root root 0 Feb 3 23:25 sys
drwxrwxrwt 10 root root 1860 Feb 20 16:03 tmp
drwxr-xr-x 7 root root 1024 Feb 3 23:25 usr
drwxr-xr-x 13 root root 1024 Feb 3 23:26 var
root@MyCloudEX2Ultra #
here is what’s in shares:
root@MyCloudEX2Ultra shares # ls -al
drwxrwxrwx 2 root root 1024 Feb 3 23:26 .
drwxr-xr-x 20 root root 1024 Feb 3 23:26 ..
lrwxrwxrwx 1 root root 20 Feb 3 23:26 .wdphotos -> /mnt/HD_a4/.wdphotos
lrwxrwxrwx 1 root root 16 Feb 3 23:26 MyBook -> /mnt/USB/USB1_b2
lrwxrwxrwx 1 root root 20 Feb 3 23:26 Public -> /mnt/HD/HD_a2/Public
lrwxrwxrwx 1 root root 23 Feb 3 23:26 SmartWare -> /mnt/HD/HD_a2/SmartWare
lrwxrwxrwx 1 root root 31 Feb 3 23:26 TimeMachineBackup -> /mnt/HD/HD_a2/TimeMachineBackup
lrwxrwxrwx 1 root root 13 Feb 3 23:26 Volume_1 -> /mnt/HD/HD_a2
root@MyCloudEX2Ultra shares #