Thread: Removing all .jpg's from folder & subfolders
i have been using linux 2 years, have noob question:
wondering easiest way delete .jpg images folder containing subfolders (i want delete them in subfolders too). @ first thought easy rm -rvf *.jpg, not seem work. why this? there way can without crazy shell script? (perhaps using pipe grep rm, or odd that?). in advance.
this want:
i'm sure understand need careful this.code:find /target/directory -name '*.jpg' -type f -delete
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Removing all .jpg's from folder & subfolders
Ubuntu
Comments
Post a Comment