« FAQ:MénageMvToBash » : différence entre les versions

De WikiFr_dbSQWare
Aller à la navigation Aller à la recherche
Page créée avec « ==Explications== Lors du passage de ksh au bash, les fichiers modifiés par le patch "automatique" ont été sauvegardés en "MvToBash."$(date +'%Y%m%d_%H%M%S') ... ==Ménage== ===Vérification=== <syntaxhighlight lang="sh" line> find . -name '*MvToBash*'|grep -v 'MvToBash.done'|grep -v '\.ksh$'|grep -v '\.cfg$' </syntaxhighlight> ===Suppresion=== <syntaxhighlight lang="sh" line> find . -name '*MvToBash*'|grep -v 'MvToBash.done'|grep -v '\.ksh$'|grep -v '\.cfg$... »
 
 
Ligne 5 : Ligne 5 :
===Vérification===
===Vérification===
<syntaxhighlight lang="sh" line>
<syntaxhighlight lang="sh" line>
cd ~/dbSQWare
find . -name '*MvToBash*'|grep -v 'MvToBash.done'|grep -v '\.ksh$'|grep -v '\.cfg$'
find . -name '*MvToBash*'|grep -v 'MvToBash.done'|grep -v '\.ksh$'|grep -v '\.cfg$'
</syntaxhighlight>
</syntaxhighlight>
Ligne 10 : Ligne 11 :
===Suppresion===
===Suppresion===
<syntaxhighlight lang="sh" line>
<syntaxhighlight lang="sh" line>
cd ~/dbSQWare
find . -name '*MvToBash*'|grep -v 'MvToBash.done'|grep -v '\.ksh$'|grep -v '\.cfg$'|xargs -i rm -f {}
find . -name '*MvToBash*'|grep -v 'MvToBash.done'|grep -v '\.ksh$'|grep -v '\.cfg$'|xargs -i rm -f {}
</syntaxhighlight>
</syntaxhighlight>

Dernière version du 5 octobre 2025 à 11:18

Explications

Lors du passage de ksh au bash, les fichiers modifiés par le patch "automatique" ont été sauvegardés en "MvToBash."$(date +'%Y%m%d_%H%M%S') ...

Ménage

Vérification

cd ~/dbSQWare
find . -name '*MvToBash*'|grep -v 'MvToBash.done'|grep -v '\.ksh$'|grep -v '\.cfg$'

Suppresion

cd ~/dbSQWare
find . -name '*MvToBash*'|grep -v 'MvToBash.done'|grep -v '\.ksh$'|grep -v '\.cfg$'|xargs -i rm -f {}