Thanks I had read the man page, but can not figure out how to do it. FYI the /s switch is sub-directory so that it will delete all matching files under that folder recursively but will not delete any folder.

Arie Groeneveld wrote:
The command is: rm

Try rm --help for options


=@@i


bill lam schreef:
This is a newbie question.  I have a batch file in dos that deletes
unwanted files like this

del c:\public\mo\pdf.ico/s
del c:\public\mo\*.bak/s
del c:\public\mo\*~/s

I would like know the equivalent linux script to delete similar files
under directory  /home/bill/mo

thank you in advance.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm



----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to