Searching for specific files then delete them

Alexander Skwar listen at alexander.skwar.name
Tue Aug 29 11:01:06 UTC 2006


OOzy Pal <oozypal at gmail.com>:

> How can I search for specific files then delete them. I tried this but
> no it did not work
> 
> find -name *~|rm

Use the "-exec" parameter of find or pipe it xargs. See the EXAMPLES
section of the find manual page, which has an example combining  find,
xargs and rm.

Alexander Skwar
-- 
If swimming is so good for your figure, how come whales look the
way they do?






More information about the ubuntu-users mailing list