Currently when I want to compare the content of a
local and a remote file I usually do
rclone copy remote:path/to/foo diff
vimdiff foo diff/foo
which works and allows me to just do
mv diff/foo .
if I want to "keep" the remote version locally, but it's
still kind of a kludge. For one thing I usually forget to
remove diff/foo if I don't want to keep it. I wish I could just say
rclone diff local/path/to/foo remote:path/to/foo
and get a regular diff printed to stdout. Or am I missing
something? Note that I'm on Termux/Android half the time,
which doesn't have any /tmp directory.
I just found out how to create a virtual /tmp directory on Termux X:-|, which at least sort of solves the issue for me. Feel free to close this topic if you feel the suggested feature is not good/unnecessary/out of scope.
perhaps this can help you
is it possible to Sync Rclone and keep the files that are last modifide?
Host: Changes File A
Remote: Adds File B
in that case i would like both Files to still be there, just like GIT would do it
Remote: has a Folder X that HOST doesnt have
Host: has some new Files/Folders Remote doesnt have
if i sync on HOST i want to download the Folder X and not override / delete it
and i want to upload all my new files to remote
sorry for my bad english so…
You could use a bit of bash magic like this
diff local/path/to/foo <(rclone cat remote:path/to/foo)
that should work...
@ncw *facepalm* Should have thought of that!
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.