Retourner au contenu associé (entrée de forum : Retour arrière, contrôle, molette etc... dans le terminal)
Posté par fearan le 17 octobre 2014 à 13:59. En réponse au message Retour arrière, contrôle, molette etc... dans le terminal. Évalué à 2.
au choix faire * find [cheminbase] -name nomdossier -print0 | xargs -0 commande * find [cheminbase] -name nomdossier -exec commande {} \;
for i in $( find ...) do ... done
find ... | while read plop do
done
je te recommande * man bash * man find * man xargs
Il ne faut pas décorner les boeufs avant d'avoir semé le vent
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
# pour les commandes tu peux
Posté par fearan . En réponse au message Retour arrière, contrôle, molette etc... dans le terminal. Évalué à 2.
au choix faire
* find [cheminbase] -name nomdossier -print0 | xargs -0 commande
* find [cheminbase] -name nomdossier -exec commande {} \;
for i in $( find ...)
do
...
done
find ... | while read plop
do
done
je te recommande
* man bash
* man find
* man xargs
Il ne faut pas décorner les boeufs avant d'avoir semé le vent