Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
meld
meld
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 178
    • Issues 178
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 6
    • Merge Requests 6
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • meldmeld
  • Issues
  • #534

Closed
Open
Opened Dec 08, 2020 by Shyam Sundar Shukla@shyamsundarshukla1991

option to do non-gui diff and get the comparison output

Sometimes, we want to programmatically compare two folders and return the status if the files are same or different or missing. In that case, if meld can do such a comparison and return 0, 1 or 2 implying same, modified, missing, it would be nice. If it can return the status for all files separately, then it would be more helpful. Example command with no graphics -

>>meld -ng file1 file2
0
>> meld -ng dir1 dir2
file1 0
file2 1
file3 1
file4 2
Edited Dec 08, 2020 by Shyam Sundar Shukla
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/meld#534