خرید بک لینک

I would like to grep all pdf files that contain the string 'RELAÇÃO DOS TRABALHADORES' inside it. I was trying to use:

pdfgrep -Hc 'RELAÇÃO DOS TRABALHADORES' PDF/*.pdf | cut -d : -f1 | xargs -I{} mv -i {} DESTINATION/

But this is causing 90% of the files move, even if they don't have the string inside it.

If i try to:

pdfgrep -in 'RELAÇÃO DOS TRABALHADORES' PDF/*.pdf

This will print the files right. So i'm guessing this is a problem with the first command.

Thanks.

برچسب: نویسنده: استخدام کار تاريخ: جمعه 28 اسفند 1394 ساعت: 21:30

صفحه بندی