Find jpg file recursively - bash


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. # Find jpg
  2. find . -name *.jpg
  3.  
  4. # You can then delete the jpgs as follows
  5. find . -name *.jpg -delete

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.