Hello, new to rclone and finding it rather difficult to learn the syntax. I need to clone a directory AND its files from a local hard drive to an externally mounted drive in linux.
Tried "external" options 2 as an alias for an existing remote and also tried 17 as an external drive (2, alias for an existing remote could be interpreted to mean an external hard drive and 17, local disk could mean the same thing to newbies. So right off the bat I'm a bit perplexed as to which one to use. ). In all cases the external hard drive has already been attached via usb and is identified as /media/me/NameOfExternalDrive. In all cases running rclone listremotes shows "external:" as one of the remotes.
With 17, local disk, I can do:
rclone copy /home/testdirectgory external:
and I get the individual files in the external drive not the actual folder holding the contents.
However, I need the directory and its contents in the external drive. Doing:
rclone copy /home/testdirectory/ external:/testfolder/
creates the individual files in whatever directory I am in when I issue the command.
I'm now stuck with trying to tell rclone to only clone those directories and their contents using a text file. The information for filtering (at least I can't find it) do not give an example of this use, or does so using partial examples.