Notices


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 27-Sep-2009, 01:41 PM
Senior Member
 
Join Date: Dec 2007
Posts: 120
djbrightman 1-9 reputation points
Default nss attributes, attrib and recursion..

Is there a switch for attrib to make it recurse through a file structure?
I want to clear out a load of files that have some attributes set (old roaming profile directories on an nss volume) but need to take off the attributes before rm.

i.e. a bit like the old dos FLAG *.* N /S

I know I could use something like "find . -exec /sbin/attrib --clear=all {} \;" but that seems very heavy and wasteful...running attrib for each and every file...
a) there are thousands of files in a roaming profile
b) I want to use find to locate the directories!;-)

Any suggestions?
Thanks
David
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 07:47 PM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2