Skip to contentSkip to conversation

How to delete all files?

DISCUSSION 1stFlight 2 participants 2 messages Jun 10, 2003

lore
Share & tools
lore

1stFlight

author
#0 lore raw

I'd like to know how I can create a command line to delete all of the "index*.jpg" files on my hard drive? Thanks!

#1 lore raw

find / -name "index*.jpg" -exec rm -rf {} \;

Quoted 7 lines · 1stFlight wrote:

I'd like to know how I can create a command line to delete all of the "index*.jpg" files on my hard drive? Thanks! -
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 3 lines
Jeff Largent                   ImageLinks, Inc.
Sr System Admin                Melbourne, Fl 32935
(321) 253-0011                 fax: (321) 253-5559