Skip to content
/ rpmdiff Public
forked from ViktorF/rpmdiff

a simple rpmnew/rpmsave/rpmorig updater

License

Notifications You must be signed in to change notification settings

eeagle/rpmdiff

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

rpmdiff

rpmdiff is a simple script to find and merge new config files in an RPM based Linux system.

Note: You need vim installed for merging with vim -d

Usage:

rpmdiff.sh [-l | -f | -p] [--nocolor]

Search Options: select one (default: --find)

  • -l/--locate scan using locate
  • -f/--find scan using find

General Options:

  • -o/--output print files instead of merging them
  • --nocolor remove colors from output

Environment Variables:

  • DIFFPROG override the merge program: (default: 'vim -d')
  • RPMPROG override the rpm program to use for the i option: (default: 'rpm')
  • DIFFSEARCHPATH override the search path. (only when using find) (default: /etc)

Examples:

DIFFPROG=meld DIFFSEARCHPATH="/boot /etc /usr" rpmdiff

rpmdiff --output --locate

About

a simple rpmnew/rpmsave/rpmorig updater

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%