« Exécuter des commandes sur plusieurs fichiers : find -exec vs find xargs » : différence entre les versions

Aller à la navigation Aller à la recherche
Aucun résumé des modifications
 
Ligne 56 : Ligne 56 :


Le caractère ASCII nul <code>\000</code> est une bonne manière de gérer les fichiers contenants des espaces
Le caractère ASCII nul <code>\000</code> est une bonne manière de gérer les fichiers contenants des espaces
You have to use both or neither of them. The advantage is that all results will be handed over to xargs as a single string without newline separation. NUL charater separation is a way to escape files which also contain spaces in their filenames.


=performances=
=performances=
4 231

modifications

Menu de navigation