On Mon, Nov 8, 2010 at 12:10 AM, yoganjaneyulu kasetti <
y.emailale...@gmail.com> wrote:

> I have some files with the extension of ".chk" extension along with the
> extension of ".log" and ".gjf" extension in the folder called different
> *input
> folders. *I wanted to delete the ".chk" file extension having files. If i
> go
> to individual input folder manually i can delete the file with *rm* command
> line by but i would like to delete all the ".chk" files extension files at
> a
> time through scripting rather than manual. So please some one help me for
> the same.
> /student/sweety/gaussiandata/*1249624064640*/input
>
> /student/sweety/gaussiandata/*1261202703914*/input
>
> /student/sweety/gaussiandata/*1263357080155*/input
>
> /student/sweety/gaussiandata/*1289106407303*/input
>

man find

search for -delete

-- 
Adam Vande More
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to