ajout echo
This commit is contained in:
parent
020c16e523
commit
bc058f8b82
|
@ -146,7 +146,7 @@ Générique :
|
|||
|
||||
~~~{.bash}
|
||||
$ DIR=$PWD
|
||||
$ for file in $(rsync -rvn $DIR REMOTE:$DIR | grep -v "^skipping non-regular file" | head -n -2); do diff $DIR/$file <(ssh REMOTE cat $DIR/$file); done
|
||||
$ for file in $(rsync -rvn $DIR REMOTE:$DIR | grep -v "^skipping non-regular file" | head -n -2); do echo $DIR/$file :; diff $DIR/$file <(ssh REMOTE cat $DIR/$file); done
|
||||
~~~
|
||||
|
||||
Pour /etc/ :
|
||||
|
@ -154,7 +154,7 @@ Pour /etc/ :
|
|||
~~~
|
||||
# for file in $(rsync -rvn /etc/ --exclude=*.log --exclude=ssh --exclude=ssl --exclude=.git --exclude=shadow* --exclude=gshadow* REMOTE:/etc/ | \
|
||||
grep -v "^skipping non-regular file" | head -n -2); do \
|
||||
diff /etc/$file <(ssh REMOTE cat /etc/$file); done
|
||||
echo /etc/$file :; diff /etc/$file <(ssh REMOTE cat /etc/$file); done
|
||||
~~~
|
||||
|
||||
### Espace et Inode
|
||||
|
|
Loading…
Reference in a new issue