Thanks pfeerick for your advice.
1. rclone sync GDrive:/Testing /srv/dev-disk-by-label-DATA/iz
Using Dolphin, I could see the .pdf file from "GDrive:/Testing" copied (or synced) to my OMV "iz" folder.
According to rclone sync command (typing "rclone sync -h"), sync command does what copy command does, by copying everything from source to destination without creating the source folder in the process.
And I created a sub-folder under GDrive:/Testing and did the same command (this time I include a new flag '-P') and noted the sub-folder was created accordingly. The rclone sync command copies everything including the sub-folder.
Awesome!
The only challenge is I have to reset my PBP and order to use Dolphin to see the sync's work done. I couldn't see the result of the rclone sync immediately through Dolphin. I need to reset PBP. Strange.
2. ls /dev-disk-by-label-DATA/iz
But when I tried to do the above in the terminal, i got the following error message. I don't understand why it doesn't allow me to see the folder.
pi@...:/srv $ ls /dev-disk-by-label-DATA/iz
ls: cannot access '/dev-disk-by-label-DATA/iz': No such file or directory
And I used rclone ls command, I got the same error message.
pi@...:~ $ rclone ls /dev-disk-by-label-DATA/iz
2020/07/31 16:19:55 ERROR : : error listing: directory not found
But I know the sub-folder has been created and all the contents were synced accordingly.
Do enlighten me if you all have further insights.
3. pi@...:~ $ rclone check GDrive:/Testing /srv/dev-disk-by-label-DATA/iz
2020/07/31 16:38:41 NOTICE: Local file system at /srv/dev-disk-by-label-DATA/iz: 0 differences found
2020/07/31 16:38:41 NOTICE: Local file system at /srv/dev-disk-by-label-DATA/iz: 2 matching files
This is a great command to check both source and destination has zero difference and 100% matching. Awesome and simple Linux command.
1. rclone sync GDrive:/Testing /srv/dev-disk-by-label-DATA/iz
Using Dolphin, I could see the .pdf file from "GDrive:/Testing" copied (or synced) to my OMV "iz" folder.
According to rclone sync command (typing "rclone sync -h"), sync command does what copy command does, by copying everything from source to destination without creating the source folder in the process.
And I created a sub-folder under GDrive:/Testing and did the same command (this time I include a new flag '-P') and noted the sub-folder was created accordingly. The rclone sync command copies everything including the sub-folder.
Awesome!
The only challenge is I have to reset my PBP and order to use Dolphin to see the sync's work done. I couldn't see the result of the rclone sync immediately through Dolphin. I need to reset PBP. Strange.
2. ls /dev-disk-by-label-DATA/iz
But when I tried to do the above in the terminal, i got the following error message. I don't understand why it doesn't allow me to see the folder.
pi@...:/srv $ ls /dev-disk-by-label-DATA/iz
ls: cannot access '/dev-disk-by-label-DATA/iz': No such file or directory
And I used rclone ls command, I got the same error message.
pi@...:~ $ rclone ls /dev-disk-by-label-DATA/iz
2020/07/31 16:19:55 ERROR : : error listing: directory not found
But I know the sub-folder has been created and all the contents were synced accordingly.
Do enlighten me if you all have further insights.
3. pi@...:~ $ rclone check GDrive:/Testing /srv/dev-disk-by-label-DATA/iz
2020/07/31 16:38:41 NOTICE: Local file system at /srv/dev-disk-by-label-DATA/iz: 0 differences found
2020/07/31 16:38:41 NOTICE: Local file system at /srv/dev-disk-by-label-DATA/iz: 2 matching files
This is a great command to check both source and destination has zero difference and 100% matching. Awesome and simple Linux command.