%20por%20un%20archivo.png)
Quiero reemplazar/eliminar texto de todos los archivos por un archivo.
$ echo "_uU_%UHY%^GSSD$%GWRW$T#wf4werwefF$fW#$wfdd%6blahblahblah" > pattern.txt
$ sudo grep -rl "_uU" . | xargs sed -ie s/$(cat pattern.txt)//g
pero mi comando no funciona. ¿Cómo puedo hacer esto?
Respuesta1
Resuelto. Tiene que quitar -e
la bandera.
$ echo "_uU_%UHY%^GSSD$%GWRW$T#wf4werwefF$fW#$wfdd%6blahblahblah" > pattern.txt
$ sudo grep -rl "_uU" . | xargs sed -i s/$(cat pattern.txt)//g