Hi,

Is it  possible , with the find command on linux, to avoid the recursively
directory hierarchy ?

So, i would, for example, remove the file "*.bat" in a directory , but not
in the recursive directory

My structure directory is :
/my_dir/
/my_dir/recurse_dir/

this command works, but all the sub directorys are concerned
=> find /my_dir  -name "*.bat"  -exec rm {} \;

How to do ?

Thank you




_______________________________________________
Bug-textutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-textutils

Reply via email to