/ Published in: Bash

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
dirs=$(for dir in $(ls); do echo -n "$dir " ; done) for (( i=0 ; i<${#dirs[@]}-1; i++ )) do diff -ru ${dirs[$i]} ${dirs[(($i+1))]} > ${dirs[(($i+1))]}_changes.patch done
Comments
