I'm looking to run a Linux command that will recursively compare two directories and output only the file names of what is different. This includes anything that is present in one directory and not the other or vice versa, and text differences.
Linux – diff to output only the file names
command linediff()linux
Related Topic
- Linux – Shell command to tar directory excluding certain files/folders
- Git – How to show the changes which have been staged
- Unix – Diff files present in two different directories
- Python – open() in Python does not create a file if it doesn’t exist
- Bash – How to set a variable to the output of a command in Bash
- Linux – Given two directory trees, how can I find out which files differ by content?
- Linux – How to change the output color of echo in Linux
- Mysql – How to import an SQL file using the command line in MySQL
Best Answer
From the diff man page:
Example command:
Example output (depends on locale):