chown

Joe josephj at main.nc.us
Sat Apr 2 15:43:17 EST 2005


I don't know the exact syntax - left as an exercise for the reader ;) , 
but if you can build a find command that finds the files you want, find 
has an exec option that lets you execute just about anything upon each 
file that it finds.

Joe

S. Lawton wrote:

>On Sat, 02 Apr 2005 05:24:03 -0500
>Advent Systems <adventsystems at verizon.net> wrote about "Re: chown":
>
>  
>
>>Disregard this previous post, I was doing it all wrong.
>>Bob Randal
>>
>>Advent Systems wrote:
>>
>>    
>>
>>>Guys,
>>>   I need to change the ownership of LOTS of files.  There are approx 
>>>50 sub-directorys, most with sub-sub directorys which have 15-20 files 
>>>in each.  From what I gathered from the man pages I should be using 
>>>the -R option with chown but it starts to change the ownership then I 
>>>get the message: "Operation not supported".  I can go into each 
>>>directory and change the ownership with "chown <new owner> *" but this 
>>>is taking forever and It seems there has to be a better way?
>>>
>>>Thanks'
>>>Bob Randal
>>>
>>>      
>>>
>
>Bob - for those of us that are curious, and save our nflug messages for future reference, could you please post what you did that DID work ?
>I've always done it one by one in a GUI file properties box depending on which distro I'm playing with. 
>I've always got to have my wallpapers and mp3s that are stored on Windows partitions. :-)
>Thanks
>  
>

-- 
"It is not only [the juror's] right, but his duty... to find the verdict according to his own best understanding, judgment, and conscience, though in direct opposition to the direction of the court." -- John Adams, 1771





More information about the nflug mailing list