chattr command not found -alternatives

basilt

macrumors regular
Original poster
Aug 15, 2016
105
8
hello,

i try to set a file access to immune (+i) with chattr and terminal responds cmd not found.

are there any terminal commands similar to chattr un ELcap that can do the exact job,
without altering any other attributes and how to type in in terminal

thanks
 

chrfr

macrumors G3
Jul 11, 2009
9,722
3,582
hello,

i try to set a file access to immune (+i) with chattr and terminal responds cmd not found.

are there any terminal commands similar to chattr un ELcap that can do the exact job,
without altering any other attributes and how to type in in terminal

thanks
"chflags" is the command you're looking for.
 

basilt

macrumors regular
Original poster
Aug 15, 2016
105
8
"chflags" is the command you're looking for.
thanks !

can you tell me what to type parameters to set flag to +/- i please. i am newbie and have not clue what to type.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.