Saturday, May 18, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1065  / 2 Years ago, thu, july 7, 2022, 5:35:35

When I use Meld 3.20.4-1 on Ubuntu MATE 21.10 I can't compare local and remote folders using below steps:



  1. Connect to some share with Caja - press Ctrl+L, enter sftp://[email protected] in the address-bar to get the folder mounted to /run/user/1000/gvfs/sftp:host=hostname.local,user=user/



  2. Open terminal and run Meld from it to compare folder pair:


    meld /run/user/1000/gvfs/sftp:host=hostname.local,user=user/home/user/Desktop ~/Desktop



As the result I get



$ meld /run/user/1000/gvfs/sftp:host=hostname.local,user=user/home/user/Desktop ~/Desktop
Usage:
meld Start with an empty window
meld <file|folder> Start a version control comparison
meld <file> <file> [<file>] Start a 2- or 3-way file comparison
meld <folder> <folder> [<folder>] Start a 2- or 3-way folder comparison

Error: remote folder “/run/user/1000/gvfs/sftp:host=hostname.local,user=user/home/user/Desktop” not supported


Can we do something with this problem on user-level?


More From » mount

 Answers
5

Really such comparison is broken since 20.04 LTS, so we need to wait for the fix upstream.


Temporary workaround is to use SSHFS as follows:



  1. Install sshfs package by


    sudo apt-get install sshfs


  2. Create temporary mount-point for remote location


    mkdir ~/sshfs
    sshfs [email protected]:/home/user/Desktop ~/sshfs


  3. Compare local folder with the remote using the same Meld version


    meld ~/sshfs ~/Desktop

    Do some synchronization.



  4. Unmount remote location and optionally remove mountpoint


    umount ~/sshfs
    # rmdir ~/sshfs



[#1055] Friday, July 8, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lotceptin

Total Points: 374
Total Questions: 106
Total Answers: 118

Location: The Bahamas
Member since Tue, Apr 27, 2021
3 Years ago
;