/ Published in: Bash
                    
                                        
Alle Verzeichnisse überprüfen: [script name] verzeichnis1 verzeichnis2
Alle Dateien vom Typ *html: [script name] verzeichnis1 verzeichnis2
                Alle Dateien vom Typ *html: [script name] verzeichnis1 verzeichnis2
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
#!/bin/bash
cr='*'
if [ -z $3 ]; then cr=$3; fi
for f in `find $1/$3 -type f | sed "s|$1/||"`
do
printf "===!%-76s" "$f!" | tr ' !' '= '; echo
diff $1/$f $2/$f | sed -e "s/^</$1: /" -e "s/^>/$2: /"
done
URL: http://www.shell-fu.org/lister.php?id=480
Comments
 Subscribe to comments
                    Subscribe to comments
                
                