hi - can anyone advise me if there is a command to mirror one folder to another?
my source folder is already mapped to owncloud/webdav and the command is working to sync
to my destination which is also local
when i watch videos and delete them i want the deletion to affect both local folders - mirroring.
tried to find a mirror command in the commands list but maybe it is under another name?
i never will require files to be uploaded to the source - only deletions made in both places.
hopefully the trash bin can be avoided.
perhaps there is a clever linux command to delete the same filename in location B when it is deleted in location A?
whatever you guys can help with is much appreciated - thanks
imho, i would not use rclone for local to local, as there are better tools.
if want rclone, then this command will perform a one-way sync. rclone sync A B -v --dry-run
--- --dry-run, rclone will not copy/delete any files, just to show you what rclone would do.
--- -v will display of list of operations that rclone would do.
using rclone for local to webdav - i have the webdav linked direct to linux as a folder so what benefit would there be to using rclone direct to webdav if the OS is doing it for me? i followed an online tutorial.
i will get on that latest version asap - thanks.
but you still have not addressed if mirror operations between two sources is possible with rclone - any version? if not - please suggest a tool that will do folder mirroring.
hello - thanks for responding.
here is the tutorial i followed to mount webdav into to the OS file manager so it works with all apps:
after that it is simply a matter of mirroring 2 local folders.
to do that with rclone i followed this doc:
two steps: that is the order in which i found the information. could not find a tutorial that linked rclone direct to webdav. sometimes you don't know how to search for something until it is completed - right?
if rclone can mirror A and B then what command do i use for that as sync only mirrors in one direction - i want both sources to be the same all the time - if one file is added or deleted on either side i want it to mirror those operations - same as most cloud clients like dropbox - Raspberry Pi is 32 bit and there is no OwnCloud client for that platform so i need to improvide one.
any idea what tool might accomplish this? would rsync work rather than rclone?
did some research and it seems rsync does not support 2 way mirroring - so looking for suggestions. found unison and freefilesync - any preferences there? if rsync or rclone respected the delete time then there would be no problem but it restores a file as soon as you delete it - which makes sense if you are a master-slave pair, but in this case it is a true mirror - both sides should always be the same based on what i changed on either side.(cloud sync) - so it needs to watch either side for changes and make the same change on the other. thanks!
It's listed here [rclone], which I would think would be the commands for the latest release, but it looks like bisync is still in beta. I'm not sure I should be a beta tester, but I'm looking forward to that feature.