grep + mv files

  1. Search / Grep  content of files in all-documents/
  2. Move files containing africa to documents-africa/

 

grep -siRlI 'africa' all-documents/ | xargs mv -t documents-africa/

 

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare