Tags » Xargs

Recursively list files (with space in their names)

Today, I had to do a long list of files inside a folder recursively. I tried using

find <folder> | xargs ls -l

This failed miserably when the folders/files inside the search location had space character in it. 42 more words

Linux

xargs

Con xargs podemos hacer comandos a partir de la entrada estándar.

Con algunos ejemplos se entiende mejor:

1.- Copiar los archivos *.log de /var  a  /destino… 126 more words

Comandos