I
I
Ilya Beloborodov2015-11-19 14:03:44
linux
Ilya Beloborodov, 2015-11-19 14:03:44

How to delete files that end with 102x58.jpg via terminal?

There are thousands of unnecessary pictures that end with *102x58.jpg, how can I delete them through the terminal?
(macos)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Eddy_Em, 2015-11-19
@kowap

xargs are not needed
find . -name "*102x58.jpg" -delete- voila!

A
akarin, 2015-11-19
@akarin

find path -name "*102x58.jpg" -exec rm "{}" \;

N
Nikolai Turnaviotov, 2015-11-19
@foxmuldercp

man find, man xargs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question