What does the -R flag do for chflags?

Posted by ralphthemagician on Super User See other posts from Super User or by ralphthemagician
Published on 2012-06-24T03:02:16Z Indexed on 2012/06/24 3:18 UTC
Read the original article Hit count: 485

Filed under:
|
|
|
|

I'm not clear on exactly what the -R flag does for chflags. I was wondering if someone might be able to help me.

The man page says this:

Recurse: Change the file flags of file hierarchies rooted in the files instead of just the files themselves.

I don't understand what that means. Can someone tell me what the difference would be between chflags -R hidden and just chflags hidden?

There's an online man page here for reference: http://ss64.com/osx/chflags.html

© Super User or respective owner

Related posts about osx

Related posts about command-line