using rm to remove multiple types of files

Status
Not open for further replies.

acbalbason

Full Member level 2
Joined
Apr 8, 2007
Messages
136
Helped
11
Reputation
22
Reaction score
1
Trophy points
1,298
Location
Gainesville, Florida
Activity points
2,044
Hi All,

I put this line in my .cshrc

alias rmlog "find 'pwd' -name '*.log' -print -exec rm -f {} \;"

question is how do i add *.txt or *.fileextension for that matter?

Thanks,
Al
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…