version 1.96, 2018/12/06 17:45:14 |
version 1.97, 2019/08/23 12:48:14 |
|
|
Find and remove all *.jpg and *.gif files under the current working |
Find and remove all *.jpg and *.gif files under the current working |
directory: |
directory: |
.Pp |
.Pp |
.Dl "$ find . \e( -name \e*.jpg -o -name \e*.gif \e) -exec rm {} \e;" |
.Dl "$ find . \e( -name \e*.jpg -o -name \e*.gif \e) -exec rm {} +" |
or |
or |
.Dl "$ find . \e( -name \e*.jpg -o -name \e*.gif \e) -print0 | xargs -0r rm" |
.Dl "$ find . \e( -name \e*.jpg -o -name \e*.gif \e) -delete" |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr chflags 1 , |
.Xr chflags 1 , |
.Xr chmod 1 , |
.Xr chmod 1 , |