The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
Scripts / handy tips
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Re: Batch commands
Author: Rob Robinson 
Date:   10-02-04 17:25


find . -name zot6 -exec chmod u+w {} \;

The above command worked for me in the bash shell of a
freeBSD system. I added the "-name zot6" part to make sure that the exec only modified the file that matched the search criteria.

We are using bash version 2.05a and freeBSD version 4.6

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 Batch commands   new
k 30-01-03 18:03 
 Re: Batch commands   new
Dan Langille 31-01-03 02:53 
 Re: Batch commands   new
k 31-01-03 04:46 
 Re: Batch commands   new
k 02-02-03 18:09 
 Re: Batch commands   new
Rob Robinson 10-02-04 17:25 
 Re: Batch commands   new
satimis 04-06-04 03:26 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org